Skip to content

Instantly share code, notes, and snippets.

@AVGP
Created September 21, 2010 18:42
Show Gist options
  • Save AVGP/590261 to your computer and use it in GitHub Desktop.
Save AVGP/590261 to your computer and use it in GitHub Desktop.
char shellcode[] = "INSERT SHELLCODE HERE!";
int main(int argc,char argv)
{
int (*f)();
f = (int (*)())shellcode;
(int)(*f)();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment