pip install pwnup
- Run
pwnup
(optionally pass host & port if working with a remote server.) - Select type of client
- After finished interacting, press
ctrl-d
to end the session. - It will drop a
client.py
file in the current directory. - More examples can be found here: http://vitapluvia.github.io/pwnup/#examples
pwnup is a quick scaffolding tool to help generate pwntools-based clients.
It records your stdio when connecting to a local, remote or ssh server during a pwntools interactive session. After recording it will dump a client.py
file.
This could be thought of as the autoexpect
for pwntools.