Skip to content

Instantly share code, notes, and snippets.

@kipyegonmark
Last active March 22, 2018 11:31
Show Gist options
  • Save kipyegonmark/b4702c60b6d238ffd872736063edb52e to your computer and use it in GitHub Desktop.
Save kipyegonmark/b4702c60b6d238ffd872736063edb52e to your computer and use it in GitHub Desktop.
Filesharing through netcat

On target machine (192.168.0.10)

$ nc -l -p 9999 > log.txt

On OSX target machine

$ nc -l 9999 > log.txt

On source machine

$ cat bigfile | nc 192.168.0.10 9999

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