Monday, April 15, 2013

Netcat

Hmm, lemme see how many boring ways can we use to move files beween two computers...
  • smbclient
  • scp
  • ftp
  • webdav
  • email attachments
  • nc

Bingo! Netcat is the most fun way!

On one machine set up a listener and send its output to a file:
# nc -l 1234 > filename

On the other machine run a client session and send a file:
# nc ip.add.re.ss 1234 < filename

La voila.

Now that ain't bad is it?

No comments:

Post a Comment

On topic comments are welcome. Junk will be deleted.