A netcat implementation written in Python.
Usage: pycat.py -t target_host -p port
-l --listen
listen on [host]:[port] for incoming connections
-e -- execute=file_to_run
execute the given file upon receiving a connection
-c --commandshell
initialize a command shell
-u --upload=destination
upon receiving connection upload a file and write to destination
Examples:
pycat.py -t 192.168.0.1 -p 5555 -l -c
pycat.py -t 192.168.0.1 -p 5555 -l -u=c:\target.exe
pycat.py -t 192.168.0.1 -p 5555 -l -e="cat /etc/passwd"
echo 'ABCDEFGHI' | ./pycat.py -t 192.168.0.1 -p 135
written by: he77kat_
inspired by: black hat python by justin seitz