Stuff related to shellcoding (shellcodes, tools, examples, tutorials)
Syscall in EAX
Arguments : EBX, ECX, EDX, ESI, EDI, EBP
Return value in EAX
syscall with int 0x80
Syscall in RAX
Arguments : RDI, RSI, RDX, R10, R9, R8
Return value in RAX
syscall with syscall
Dumps a shellcode string from a valid ELF file using objdump
I recommend you creating an alias pointing to the dump_shellcode.sh
Executes a shellcode in C
Be careful about the fact that the shellcode is 32 or 64 bits.
gcc -m32 shellcode_executor.c -o shellcode_32.elf
gcc shellcode_executor.c -o shellcode_64.elf
Executes a shellcode in python
./shellcode_executor.py
The file must contains the shellcode like this :
\xef\xbe\xad\xde