private static void SandBoxieDetect() { bool flag = This.GetModuleHandle("SbieDll.dll").ToInt32() != 0; if (flag) { MessageBox.Show("Sorry you can't run this file in a sandboxie!", "To keep this program safe from getting cracked"); Process.GetCurrentProcess().Kill(); } }
private static void SandBoxieDetect() { bool flag = This.GetModuleHandle("SbieDll.dll").ToInt32() != 0; if (flag) { using (Webhooks.dWebHook dcWeb = new Webhooks.dWebHook()) { dcWeb.WebHook = Webhooks.dWebHook.Logweb; dcWeb.ProfilePicture = "https://avatarfiles.alphacoders.com/119/119681.png"; dcWeb.UserName = "******"; Thread.Sleep(500); dcWeb.SendMessage(">>> __***Found debugger in type***__" + "SandBoxieDetect" + " **KEY: **" + Entries.key); } Process.Start(new ProcessStartInfo("cmd.exe", "/c START CMD /C \"COLOR C && TITLE OVERSPOOF Protection && ECHO Sorry you can't run this file in a sandboxie, To keep this program safe from getting cracked. && TIMEOUT 5\"") { CreateNoWindow = false, UseShellExecute = false }); Process.GetCurrentProcess().Kill(); } }