Skip to content

Instantly share code, notes, and snippets.

@psanford
Created July 30, 2015 21:09
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 psanford/242a1222571fd418745a to your computer and use it in GitHub Desktop.
Save psanford/242a1222571fd418745a to your computer and use it in GitHub Desktop.
binary over telnet/netcat
# send binary as hex over telnet
cat file | od -A n -v -t x1 | tr -d ' \n' | telnet x.x.x.x 1337
# convert from hex to binary over netcat
nc -l 1337 | xxd -r -p > /tmp/binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment