Skip to content

Instantly share code, notes, and snippets.

@jamesmartin
Created July 13, 2013 00:08
Show Gist options
  • Select an option

  • Save jamesmartin/5988769 to your computer and use it in GitHub Desktop.

Select an option

Save jamesmartin/5988769 to your computer and use it in GitHub Desktop.
Using netcat to send files.
# target listens for connection
nc -l <port> > /path/to/target/destination/file
# host sends file
nc <listener_ip> <port> < /path/to/source/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment