hiturys

blobiero

Nov 29th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. //Login
  2. string cpuInfo = string.Empty;
  3. ManagementClass mc = new ManagementClass("win32_processor");
  4. ManagementObjectCollection moc = mc.GetInstances();
  5. foreach (ManagementObject mo in moc)
  6. {
  7. if (cpuInfo == "")
  8. {
  9. cpuInfo = mo.Properties["processorID"].Value.ToString();
  10. break;
  11. }
  12. }
  13. System.Net.WebClient Webforfuckinlog = new System.Net.WebClient();
  14. DateTime now = DateTime.Now;
  15.  
  16. //blobloginhahahahahaha.DownloadString("" + GetHDDSerial() + " = " + " = " + now + "");
  17. System.Net.WebClient Wc = new System.Net.WebClient();
  18. string pplbanned = Wc.DownloadString("https://secrethwidlolisd.000webhostapp.com/Sapphirie%20SecretShitLOL/Blacklisted");
  19. string pplallowed = Wc.DownloadString("https://secrethwidlolisd.000webhostapp.com/Sapphirie%20SecretShitLOL/Whitelisted");
  20. //btw the random site do i add my hwid site? ye
  21. if (pplbanned.Contains(GetHDDSerial()))
  22. {
  23. MessageBox.Show("You are blacklisted from Avius, you will not be whitelisted again even if you buy it again.", "Avius", MessageBoxButtons.OK, MessageBoxIcon.Error);
  24. Environment.Exit(-1);
  25. }
  26. else if (pplallowed.Contains(GetHDDSerial()))
  27. {
  28. MessageBox.Show("You are whitelisted to Avius.", "Avius", MessageBoxButtons.OK, MessageBoxIcon.Information);
  29. Login open = new Login();
  30. open.Show();
  31. this.Hide();
  32. }
  33. else
  34. {
  35. MessageBox.Show("You're not whitelisted, If you have bought the program please redeem your key and send your HWID to Hitury.", "Uh oh", MessageBoxButtons.OK, MessageBoxIcon.Warning);
  36. Environment.Exit(-1);
  37. }
  38. }
  39. public string GetHDDSerial()
  40. {
  41. ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia");
  42. foreach (ManagementObject wmi_HD in searcher.Get())
  43. {
  44. if (wmi_HD["SerialNumber"] != null)
  45. return wmi_HD["SerialNumber"].ToString();
  46. }
  47.  
  48. return string.Empty;
Add Comment
Please, Sign In to add comment