Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Concatenation in C void* char* filter_list
Author
Message
Concatenation in C void* char* #1
Hello guys

I got this code :
Code:
LPVOID lpvAddr;
lpvAddr = VirtualAlloc(NULL, strlen(jmp_esp), 0x3000, 0x40);

char *x = "\x41\x42\x43";
char *all;
strcat(all , x);
strcat(all , lpvAddr);     // here I got error because can't concate char * with lpvAddr

How can I get the value of lpvaddr in hex (ex:\x00\x22\x33\x44) and append it to <all> variable ?


thanks

Reply







Users browsing this thread: 1 Guest(s)