· 8 years ago · Jan 26, 2018, 01:02 AM
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Threading.Tasks;
9using System.Windows.Forms;
10using System.Net;
11using System.IO;
12using System.Diagnostics;
13using System.Security.Cryptography;
14
15
16namespace Tcarr_Mule_Creator
17{
18 public partial class Form1 : Form
19 {
20 public Form1()
21 {
22 InitializeComponent();
23
24 try
25 {
26 var dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Mule Creator";
27 if (!System.IO.Directory.Exists(dir))
28 {
29 Directory.CreateDirectory(dir);
30 }
31 }
32 catch (Exception ex)
33 {
34 MessageBox.Show("Failed to create folder, do you run it as Administrator?" + Environment.NewLine + ex.ToString(), "Failed to create folder", MessageBoxButtons.OK, MessageBoxIcon.Error);
35 }
36 }
37
38 void checkBox1_CheckedChanged(object sender, EventArgs e)
39 {
40 if (checkBox1.Checked == true)
41 {
42 textBox2.Enabled = false;
43 passRandom = true;
44 }
45 else
46 {
47 passRandom = false;
48 textBox2.Enabled = true;
49 }
50 }
51
52 void button1_Click(object sender, EventArgs e)
53 {
54 var startingIndex = strtIndx.Value;
55 emailStart = textBox1.Text;
56 password = textBox2.Text;
57
58 if(emailStart == "" || password == "" && passRandom == false)
59 {
60 MessageBox.Show("Please enter an valid information", "Incorrect Information");
61 }
62 else
63 {
64 CreateMule(Convert.ToInt32(amount.Value), Convert.ToInt32(strtIndx.Value));
65 }
66 }
67
68 void CreateMule(int count, int startingIndex)
69 {
70 fails = 0;
71 success = 0;
72
73 for (i = 1; i <= count; i++)
74 {
75 try
76 {
77 if(passRandom == true)
78 {
79 const string valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
80 StringBuilder res = new StringBuilder();
81 Random rnd = new Random();
82 for (int i = 0; i < 13; i++)
83 {
84 res.Append(valid[rnd.Next(valid.Length - 1)]);
85 }
86 password = res.ToString();
87 }
88
89 WebRequest webRequest = (WebRequest)WebRequest.Create("https://realmofthemadgod.appspot.com/account/register?guid=DDDDDDDD30A5B289EA856859A8&newGUID=" + emailStart + "+" + startingIndex.ToString() + "@gmail.com" + "&ignore=7915&newPassword=" + password + "&isAgeVerified=1");
90 webRequest.Timeout = 10000;
91 WebResponse webResponse = (WebResponse)webRequest.GetResponse();
92 StreamReader responseStream = new StreamReader(webResponse.GetResponseStream());
93
94 status = responseStream.ReadToEnd();
95
96 if (status.Contains("<Success/>"))
97 {
98 status = "Success";
99 success++;
100 tb_status.Text += Environment.NewLine + emailStart + "+" + startingIndex + "@gmail.com success" + status;
101 using (System.IO.StreamWriter writer = new System.IO.StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Mule Creator\Accounts.txt", true))
102 {
103 writer.WriteLine("'" + emailStart + "+" + startingIndex.ToString() + "@gmail.com" + "': " + "'" + password + "',");
104 }
105 }
106 else if (status.Contains("<Error>"))
107 {
108 status = status.Replace("<Error>", "");
109 status = status.Replace("</Error>", "");
110 status = status.Replace(".", " ");
111 status = status.Replace("_", " ");
112 fails++;
113 tb_status.Text += Environment.NewLine + password + emailStart + "+" + startingIndex + "@gmail.com failed, error: " + status;
114 }
115 }
116 catch(Exception Ex)
117 {
118 tb_status.Text += Environment.NewLine + "Error: " + Ex.Message;
119 }
120 startingIndex++;
121 }
122 }
123
124 private void button2_Click(object sender, EventArgs e)
125 {
126 try
127 {
128 Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Mule Creator");
129 }
130 catch
131 {
132 MessageBox.Show("Can't open folder", "Failed to open folder", MessageBoxButtons.OK, MessageBoxIcon.Error);
133 }
134 }
135
136 private void strtIndx_ValueChanged(object sender, EventArgs e){ }
137 private void Form1_Load(object sender, EventArgs e) { }
138 public bool passRandom = false;
139 int i;
140 public int fails;
141 public int success;
142 string emailStart;
143 string password;
144 string status;
145 }
146}