summaryrefslogtreecommitdiffstats
path: root/templates/shellcode/examples/shell64.asm (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-15shellcode: Update /bin/sh shellcodesMalfurious1-14/+22
The shell-spawning shellcodes are rewritten to address the following concerns: - The array parameters to execve are now set properly, to valid arrays on the stack, instead of NULL pointers. - The cdq instruction is no longer used to sign-extend the rax register, since it has not been producing the expected results in gdb. - Labels, sections, and other file metadata are removed in order to support concatenation of shellcode samples to make more complex code. Signed-off-by: Malfurious <m@lfurio.us>
2023-01-15shellcode: Move example code to a new directoryMalfurious1-0/+16
This is mainly done to keep the top working directory (where the Makefile lives) cleaner. Signed-off-by: Malfurious <m@lfurio.us>