netcat, quickly send binaries through network

linux
Published

April 29, 2008

just start nc in server mode on localhost:

[sourcecode language=‘python’] nc -l -p 3333 [/sourcecode]

send a string to localhost on port 3333:

[sourcecode language=‘python’] echo “hello world” | nc localhost 3333 [/sourcecode]

you’ll see on server side appearing the string you sent.

very useful for sending binaries, see examples .