Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.59 KB

README.md

File metadata and controls

31 lines (24 loc) · 2.59 KB

shellcode

“A vulnerability provides an assembly language for a computer that has never been programmed before, and that was not designed with programmability in mind.”

-- Halvar Flake

x86

  • setuid-linux.c. Old setuid/execve shellcode for Linux/x86 (30 bytes).
  • portbind-linux.c. Old setuid/portbind shellcode for Linux/x86 (96 bytes).
  • reusage-linux.c. Old execve shellcode for Linux/x86 that reuses "/bin/sh" in .rodata (16 bytes).
  • gets-linux.c. Old stdin-reopen/execve shellcode for Linux/x86, useful against gets() buffer overflows.
  • raptorcode.c. Old shellcode for Linux/x86 that writes a message to the current tty.
  • setuid-bsd.c. Old setuid/execve shellcode for BSD/x86 (30 bytes).
  • portbind-bsd.c. Old setuid/portbind shellcode for BSD/x86 (94 bytes).
  • leetcode.c. Old setuid/execve shellcode for BSD/x86, with an ASCII message buried in the code.

SPARC

MIPS