-
-
Save C0ntr07/92bb57ad98e9d135e527c841bce218d7 to your computer and use it in GitHub Desktop.
Reverse shell for NAT users with tmux+socat+ssh
This file contains hidden or 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
#!/bin/sh | |
# | |
# Run this script on relay_server to connect shared session | |
# | |
read -p "Port number: " relay_port | |
socat file:`tty`,raw,echo=0 tcp-connect:localhost:${relay_port} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment