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

January 2010
S M T W T F S
« Dec   Feb »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

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 share shared folder ssh symbolic link theme traceroute tunneling ubuntu vi vim virtualbox volatile whois windows windows xp

Categories