environment
$ docker run -it pwntools/pwntools:stable
pwntools@bb0ca7101abf:~$ sudo apt -y install sshpass vim
cat test.py
from pwn import *
# s = ssh('rootkit', 'pwnable.kr', 2222, 'guest') # ssh is not working with ForceCommand
p = process('sshpass -p guest ssh -oStrictHostKeyChecking=no rootkit@pwnable.kr -p2222', shell=True)
p.interactive()
python3 test.py

python3 test.py DEBUG LOG_FILE=log.txt
log.txt
another example with local qemu
#1937 (comment)
but it's ok with python shell
