Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (HttpRequest httpRequest = new HttpRequest())
- {
- Structs.LoginStruct loginStruct = default(Structs.LoginStruct);
- loginStruct.email = this.emailTextBox.Text;
- loginStruct.password = this.passwordTextBox.Text;
- string text = string.Empty;
- using (ManagementObjectCollection.ManagementObjectEnumerator enumerator = new ManagementClass("win32_processor").GetInstances().GetEnumerator())
- {
- if (enumerator.MoveNext())
- {
- text = ((ManagementObject)enumerator.Current).Properties["processorID"].Value.ToString();
- }
- }
- loginStruct.HWID = text;
- string str = string.Concat(new string[]
- {
- "email=",
- loginStruct.email,
- "&password=",
- loginStruct.password,
- "&HWID=",
- text
- });
- string text2 = httpRequest.Post("https://axenta.ddns.net:7000/users", str, "application/x-www-form-urlencoded").ToString();
- if (text2.Contains("Bad"))
- {
- this.label1.Text = "Wrong email / password.";
- this.validateLicenseButton.Text = "Connect";
- }
- if (text2.Contains("HWID"))
- {
- this.label1.Text = "This account is linked to another PC.";
- this.validateLicenseButton.Text = "Connect";
- }
- if (text2.Contains("Connection valid."))
- {
- SynchronizedInvoker.Invoke(delegate
- {
- 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);
- });
- this.FuckCrossThread(text2);
- }
- }
- }
- catch (Exception ex)
- {
- throw ex;
- }
- }).Start();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement