Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Login
- string cpuInfo = string.Empty;
- ManagementClass mc = new ManagementClass("win32_processor");
- ManagementObjectCollection moc = mc.GetInstances();
- foreach (ManagementObject mo in moc)
- {
- if (cpuInfo == "")
- {
- cpuInfo = mo.Properties["processorID"].Value.ToString();
- break;
- }
- }
- System.Net.WebClient Webforfuckinlog = new System.Net.WebClient();
- DateTime now = DateTime.Now;
- //blobloginhahahahahaha.DownloadString("" + GetHDDSerial() + " = " + " = " + now + "");
- System.Net.WebClient Wc = new System.Net.WebClient();
- string pplbanned = Wc.DownloadString("https://secrethwidlolisd.000webhostapp.com/Sapphirie%20SecretShitLOL/Blacklisted");
- string pplallowed = Wc.DownloadString("https://secrethwidlolisd.000webhostapp.com/Sapphirie%20SecretShitLOL/Whitelisted");
- //btw the random site do i add my hwid site? ye
- if (pplbanned.Contains(GetHDDSerial()))
- {
- MessageBox.Show("You are blacklisted from Avius, you will not be whitelisted again even if you buy it again.", "Avius", MessageBoxButtons.OK, MessageBoxIcon.Error);
- Environment.Exit(-1);
- }
- else if (pplallowed.Contains(GetHDDSerial()))
- {
- MessageBox.Show("You are whitelisted to Avius.", "Avius", MessageBoxButtons.OK, MessageBoxIcon.Information);
- Login open = new Login();
- open.Show();
- this.Hide();
- }
- else
- {
- 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);
- Environment.Exit(-1);
- }
- }
- public string GetHDDSerial()
- {
- ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia");
- foreach (ManagementObject wmi_HD in searcher.Get())
- {
- if (wmi_HD["SerialNumber"] != null)
- return wmi_HD["SerialNumber"].ToString();
- }
- return string.Empty;
Add Comment
Please, Sign In to add comment