Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace RobloxFavoriteBot
- {
- public partial class createacc : Form
- {
- public createacc()
- {
- InitializeComponent();
- }
- string[] let = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" };
- string[] num = { "1", "2", "3", "4", "5", "6", "7", "8" };
- public List<string> proxies1 = new List<string>();
- void create(Uri address, string username, string pass)
- {
- HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://api.roblox.com/signup/v1");
- WebProxy myproxy = new WebProxy(address);
- myproxy.BypassProxyOnLocal = false;
- request.Proxy = myproxy;
- request.Timeout = 1000;
- request.KeepAlive = false;
- request.Accept = "application/json, text/plain, */*";
- request.Headers.Add("Origin", @"http://www.roblox.com");
- request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36";
- request.ContentType = "application/x-www-form-urlencoded";
- request.Referer = "http://www.roblox.com/account/signupredir";
- request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br");
- request.Headers.Set(HttpRequestHeader.AcceptLanguage, "en-US,en;q=0.8");
- request.Headers.Set(HttpRequestHeader.Cookie, @"RBXSource=rbx_acquisition_time=11/20/2016 4:16:17 PM&rbx_acquisition_referrer=&rbx_medium=Direct&rbx_source=&rbx_campaign=&rbx_adgroup=&rbx_keyword=&rbx_matchtype=&rbx_send_info=1; RBXViralAcquisition=time=11/20/2016 4:16:17 PM&referrer=&originatingsite=; GuestData=UserID=-786589586; RBXMarketing=FirstHomePageVisit=1; _ga=GA1.2.1124241181.1479680169; __gads=ID=2f32111c4a67df96:T=1479932982:S=ALNI_MYQrw_wu6veOAM4iM4ic50xkPn2JA; RBXEventTrackerV2=CreateDate=11/24/2016 8:10:20 PM&rbxid=184130891&browserid=5729346186; rbx-ip=; RBXImageCache=timg=30336534386264332D616236352D343162662D383061312D3763656637363738396534642535302E3133362E3138312E3231362531312F32312F323031362031313A33343A303320504DE75B95121DA744C64A041A6EAC747C4F1DD27F41; __utmt_b=1; __utma=200924205.1124241181.1479680169.1480038327.1480042238.14; __utmb=200924205.26.10.1480042238; __utmc=200924205; __utmz=200924205.1480022244.12.3.utmcsr=web.roblox.com|utmccn=(referral)|utmcmd=referral|utmcct=/catalog/");
- request.Method = "POST";
- request.ServicePoint.Expect100Continue = false;
- string body = @"isEligibleForHideAdsAbTest=False&username=" + username + "&password=" + pass + "&birthday=18+Sep+1998&gender=2&context=RollerCoasterSignupForm";
- byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(body);
- request.ContentLength = postBytes.Length;
- try
- {
- Stream stream = request.GetRequestStream();
- stream.Write(postBytes, 0, postBytes.Length);
- stream.Close();
- richTextBox1.AppendText("[" + DateTime.Now + "]" + " Created account - " + username + ":" + pass + "\n");
- }
- catch (Exception)
- {
- richTextBox1.AppendText("Proxy failed.\n");
- }
- }
- private void button1_Click(object sender, EventArgs e)
- {
- richTextBox1.AppendText("["+DateTime.Now+"]" + " Account creation has started, " + numericUpDown1.Value.ToString() + " accounts are in queue to be created.\n");
- using (StringReader reader = new StringReader(proxies.getProx()))
- {
- string line;
- while ((line = reader.ReadLine()) != null)
- {
- proxies1.Add(line);
- }
- }
- accCreate.Start();
- }
- private void createacc_Load(object sender, EventArgs e)
- {
- }
- int count = 0;
- private void accCreate_Tick(object sender, EventArgs e)
- {
- Random r = new Random();
- int num2 = r.Next(0, 26);
- char let1 = (char)('a' + num2);
- string user = let1 + r.Next(100000, 999999).ToString();
- string pass = let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + let[new Random().Next(0, let.Length)] + "_" + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)] + num[new Random().Next(0, num.Length)];
- count++;
- create(new Uri("http://"+proxies1[count]), user, pass);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement