Skip to content

Instantly share code, notes, and snippets.

@brescia123
Created September 29, 2015 08:16
Show Gist options
  • Save brescia123/f0593e16f13033749361 to your computer and use it in GitHub Desktop.
Save brescia123/f0593e16f13033749361 to your computer and use it in GitHub Desktop.
Commands to send a file with Netcat
# Listening
nc -l -p 1234 > out.file
# Sending
nc -w 3 [destination] 1234 < out.file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment