IV Needle Injecting Tech into the Vein

16Jan/100

Send Data Over a Network Using netcat

Often you cannot direct copy files between machines. One way to pass data is using netcat. There are versions of netcat for both Windows and Linux. Here are the steps to setup a connection to transfer data over a network using netcat.

Setup netcat to listen (the machine receiving the data)

  • Command: nc -v -l -p 10000 > command.txt
  • Notes: -p is the port that you are opening up to receive the data. You can name the text file anything you want (usually wise to name it something descriptive).

Run a command on the sending machine

  • Command: command | nc receiving_machine_ip_address 10000
  • When the transfer is complete, kill the command using Ctrl-c

Posted by: Heavymeddler

Calendar

March 2010
S M T W T F S
« Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  

Pages

Recent Posts

Meta

Tags

about config analysis banned ports bluetooth cheat sheet dell dig dns dnsstuff enigma firefox Forensics gmail reader hd high definition interrogation jaunty microsoft 5000 mini mouse netcat nslookup password rainmeter resolution royale noir ssh theme traceroute tunneling ubuntu vi vim volatile whois windows xp

Categories