Skip to content

Instantly share code, notes, and snippets.

@thomasdarimont
Last active March 4, 2019 22:38
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 thomasdarimont/e26e437ef0dd43aa08d4d26f0977bdf9 to your computer and use it in GitHub Desktop.
Save thomasdarimont/e26e437ef0dd43aa08d4d26f0977bdf9 to your computer and use it in GitHub Desktop.
How to send file contents with whois via network if netcat is not available...

Source-Host

whois -h $(hostname -i) -p 4444 `cat /etc/hosts | base64` 

Target-Host

nc -ln 4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment