Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 597 Bytes

readme.md

File metadata and controls

23 lines (16 loc) · 597 Bytes

Shellcode Testing helper

Usage

$ sct [-g] {-f file | $'\xeb\xfe' | '\xb8\x39\x05\x00\x00\xc3'}
$ printf '\xeb\xfe' | sct

Examples

$ sct $'\xeb\xfe'                 # raw shellcode
$ sct '\xb8\x39\x05\x00\x00\xc3'  # escaped shellcode
$ sct -f test.sc                  # shellcode from file
$ sct -f <(python gen_payload.py) # test generated payload
$ sct -s 5 -f test.sc             # create socket at fd=5
# Allows to test staged shellcodes
# Flow is redirected like this: STDIN -> SOCKET -> STDOUT

Author

hellman ([email protected]), zTrix ([email protected])