Created
December 5, 2015 14:34
-
-
Save epappas/d13717daa1b26ba2b9ef to your computer and use it in GitHub Desktop.
trusted useless channel
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
#server | |
while true; do nc -lp 4445 | openssl aes-256-cbc -d -salt -k proxyPass | openssl aes-256-cbc -d -salt -k realPass | base64 --decode | cat; done | |
#proxy | |
while true; do nc -lp 4444 | openssl aes-256-cbc -salt -k proxyPass | nc localhost 4445; done | |
#client | |
while true; do cat /dev/urandom | head -c 10 | base64 | openssl aes-256-cbc -salt -k realPass | nc localhost 4444; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment