Skip to content

Instantly share code, notes, and snippets.

@alanleite
Created September 14, 2018 17:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alanleite/6c991bb89297bfea45954ff3d257d091 to your computer and use it in GitHub Desktop.
Save alanleite/6c991bb89297bfea45954ff3d257d091 to your computer and use it in GitHub Desktop.
Send / Receive file linux
host: 000.000.000.000
port: 0000
send
cat file.txt > /dev/tcp/000.000.000.000/0000
receive
nc -lkvv 4444 > file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment