In this Program console is hidden.
It logout your PC in shorten time interval..like a bug!!!!
You can stop this process in task manager process tab.
Compile the code in dev c or any GCC compiler and....have fun =_*
#include<conio.h>
#include<windows.h>
main(){
// code for hiding the console_window
HWND stealth; /*creating stealth (window is not visible)*/
AllocConsole();
stealth=FindWindowA("Console WindowClass",NULL);
ShowWindow(stealth,0);
// code for hiding the console_window
while(1){
Sleep(30000);
system("rundll32.exe user32.dll, LockWorkStation");
}
}
It logout your PC in shorten time interval..like a bug!!!!
You can stop this process in task manager process tab.
Compile the code in dev c or any GCC compiler and....have fun =_*
#include<conio.h>
#include<windows.h>
main(){
// code for hiding the console_window
HWND stealth; /*creating stealth (window is not visible)*/
AllocConsole();
stealth=FindWindowA("Console WindowClass",NULL);
ShowWindow(stealth,0);
// code for hiding the console_window
while(1){
Sleep(30000);
system("rundll32.exe user32.dll, LockWorkStation");
}
}
No comments:
Post a Comment