Created
May 27, 2019 21:39
-
-
Save cgimenes/298d005d49e434edc67c45ba0d2f3015 to your computer and use it in GitHub Desktop.
Confuse people SSHing to your host with a redirect back to theirs
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
socat -d -d TCP-L:22,reuseaddr,fork SYSTEM:"nc \$SOCAT_PEERADDR 22" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment