https://www.piesocket.com/blog/python-websocket#google_vignette
Maybe a command line history might be nice https://stackoverflow.com/questions/15416054/command-line-in-python-with-history
https://github.com/jrsk23/Python-RAT
https://github.com/PM-95025/Python-RAT
import shlex, subprocess command_line = raw_input() /bin/vikings -input eggs.txt -output "spam spam.txt" -cmd "echo '$MONEY'" args = shlex.split(command_line) print args ['/bin/vikings', '-input', 'eggs.txt', '-output', 'spam spam.txt', '-cmd', "echo '$MONEY'"] p = subprocess.Popen(args) # Success!