https://github.com/hellman/shtest
Simple shellcode testing tool.
https://github.com/hellman/shtest
Last synced: 11 months ago
JSON representation
Simple shellcode testing tool.
- Host: GitHub
- URL: https://github.com/hellman/shtest
- Owner: hellman
- Created: 2011-12-08T19:48:54.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-24T11:44:21.000Z (about 14 years ago)
- Last Synced: 2025-04-04T11:05:52.519Z (11 months ago)
- Language: C
- Homepage:
- Size: 105 KB
- Stars: 48
- Watchers: 4
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Shellcode testing program
Usage:
shtest {-f file | $'\xeb\xfe' | '\xb8\x39\x05\x00\x00\xc3'}
Usage example:
$ shtest $'\xeb\xfe' # raw shellcode
$ shtest '\xb8\x39\x05\x00\x00\xc3' # escaped shellcode
$ shtest -f test.sc # shellcode from file
$ shtest -f <(python gen_payload.py) # test generated payload
$ shtest -s 5 -f test.sc # create socket at fd=5
# Allows to test staged shellcodes
# Flow is redirected like this: STDIN -> SOCKET -> STDOUT
Compiling:
gcc -Wall shtest.c -o shtest
Author: hellman (hellman1908@gmail.com)