Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lfryc
Last active April 15, 2020 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfryc/f8815ff45ed647ce71841a5d743b4ebf to your computer and use it in GitHub Desktop.
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
ncat -lp 12345 --ssl | base 64 -d | tar xz
brew install nmap
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