Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

send file netcat

#Receiver
nc -l -p <port_number> -q 1 > something.zip < /dev/null

#Sender
cat something.zip | netcat <receiver_ip> <port_number>
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #send #file #netcat
ADD COMMENT
Topic
Name
8+5 =