Last active
April 15, 2020 07:12
-
-
Save lfryc/f8815ff45ed647ce71841a5d743b4ebf to your computer and use it in GitHub Desktop.
Using ncat (netcat) from nmap package to transfer files via SSL-enabled tunnel
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
ncat -lp 12345 --ssl | base 64 -d | tar xz |
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
brew install nmap |
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
tar cz <FILES> | base64 | ncat -C --ssl <IP> 12345 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment