Spawns a bin/bash
terminal.
Works in both Python2 and Python3.
This script is meant too be used with meterpreter.
meterpreter> upload path/spawn_terminal /tmp/
meterpreter> shell
python /tmp/spawn_terminal
user@linux:/$ whoami
user
user@linux:/$