Advertisement
Dgame321

Untitled

Nov 20th, 2019
6,976
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. using (HttpRequest httpRequest = new HttpRequest())
  2. {
  3. Structs.LoginStruct loginStruct = default(Structs.LoginStruct);
  4. loginStruct.email = this.emailTextBox.Text;
  5. loginStruct.password = this.passwordTextBox.Text;
  6. string text = string.Empty;
  7. using (ManagementObjectCollection.ManagementObjectEnumerator enumerator = new ManagementClass("win32_processor").GetInstances().GetEnumerator())
  8. {
  9. if (enumerator.MoveNext())
  10. {
  11. text = ((ManagementObject)enumerator.Current).Properties["processorID"].Value.ToString();
  12. }
  13. }
  14. loginStruct.HWID = text;
  15. string str = string.Concat(new string[]
  16. {
  17. "email=",
  18. loginStruct.email,
  19. "&password=",
  20. loginStruct.password,
  21. "&HWID=",
  22. text
  23. });
  24. string text2 = httpRequest.Post("https://axenta.ddns.net:7000/users", str, "application/x-www-form-urlencoded").ToString();
  25. if (text2.Contains("Bad"))
  26. {
  27. this.label1.Text = "Wrong email / password.";
  28. this.validateLicenseButton.Text = "Connect";
  29. }
  30. if (text2.Contains("HWID"))
  31. {
  32. this.label1.Text = "This account is linked to another PC.";
  33. this.validateLicenseButton.Text = "Connect";
  34. }
  35. if (text2.Contains("Connection valid."))
  36. {
  37. SynchronizedInvoker.Invoke(delegate
  38. {
  39. MessageBox.Show(this, "Welcome to Axenta, " + this.emailTextBox.Text + "\r\n\r\nYou should join our discord :)\n\nThis program is purely a demonstration of the use/flaws of the fortnite API\nUse this solely for testing purpose, credential stuffing is forbidden !\n\nI can't be held responsible for shit you do.", "Welcome.", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  40. });
  41. this.FuckCrossThread(text2);
  42. }
  43. }
  44. }
  45. catch (Exception ex)
  46. {
  47. throw ex;
  48. }
  49. }).Start();
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement