SP Posted October 3, 2012 Share Posted October 3, 2012 This is the hidden content, please Sign In or Sign Up Link to comment Share on other sites More sharing options...
SD8Z Posted October 3, 2012 Share Posted October 3, 2012 Re: [c#] Anti Sandboxie Nice SP. I'll put this in the crypter for Level-23 :P Link to comment Share on other sites More sharing options...
SP Posted October 4, 2012 Author Share Posted October 4, 2012 Re: [c#] Anti Sandboxie Nice SP. I'll put this in the crypter for Level-23 :P welcome bro ... i was interest in vb.net know c# i like it Link to comment Share on other sites More sharing options...
SeVeN Posted February 21, 2013 Share Posted February 21, 2013 Re: [c#] Anti Sandboxie Why do you need to convert 'sandboxiecontrolwndclassX' to String? You just can: IntPtr sandboxiecontrolwndclassX = FindWindow(”sandboxiecontrolwndclass”, “Sandboxie Control”); return ( sandboxiecontrolwndclassX != IntPtr.Zero ); Link to comment Share on other sites More sharing options...
SP Posted February 21, 2013 Author Share Posted February 21, 2013 Re: [c#] Anti Sandboxie Why do you need to convert 'sandboxiecontrolwndclassX' to String? You just can: IntPtr sandboxiecontrolwndclassX = FindWindow(”sandboxiecontrolwndclass”, “Sandboxie Control”); return ( sandboxiecontrolwndclassX != IntPtr.Zero ); friends: good code .. make it full and add it here Link to comment Share on other sites More sharing options...
Alinator3000 Posted May 16, 2013 Share Posted May 16, 2013 Re: [c#] Anti Sandboxie I was used this code, it's works even sandboxie just auto start with OS, not then i run my programm in Sandboxie; For protection i use process scan, if program parent process != explorer.exe (and ID) this.close(); private void ParendProcessParameters() { var myId = Process.GetCurrentProcess().Id; // Your current process ID var query = string.Format("SELECT ParentProcessId FROM Win32_Process WHERE ProcessId = {0}", myId); var search = new ManagementObjectSearcher("root\\CIMV2", query); var results = search.Get().GetEnumerator(); if (!results.MoveNext()) throw new Exception("Huh?"); var queryObj = results.Current; uint parentId = (uint)queryObj["ParentProcessId"]; var parent = Process.GetProcessById((int)parentId); parent.Id // Your parent process ID parent.ProcessName // Yeur parent process Name } Used this in CrackMev1.4; Link to comment Share on other sites More sharing options...
Recommended Posts