Closed infodox closed 10 years ago
I completely agree, you can also use socat -,raw,echo=0 TCP:target:port,bind=:61040 and then just paste in the password. Otherwise, you'll have to deal with ^d to send up to the last char in netcat. I'll throw a link to your project in the readme, thanks for the share.
aaaaand it's done. Marking as closed.
tl;dr ncat makes a crap client for PTY's. A simple modification of the following should work though:
https://github.com/infodox/python-pty-shells/blob/master/tcp_pty_shell_handler.py
:)