Just woke up few minutes ago and came up with some lazy shellcode skeleton idea. Using inline asm instead of casting shellcode as a function and execute it .
#include
char shellcode[] = "malsmalasmalmalsa";
int main(int argc, char **argv)
{
__asm__(
"mov %ebp, %eax;
"jmp %eax;
);
}
No comments:
Post a Comment