AdSense

Friday, September 30, 2016

NETCAT / 5 - Transferring files



TRASFERRING FILES WITH NETCAT


- Layout topology for this exercise:




- In this exercise Netcat is used to transfer files (either text or binary) between two hosts. 


1 - From Linux to Windows


- Windows listens on port 4444, and redirects all incoming data to a file called IN. 




- Then, Kali sends the file with path "/root/FileWindows" to Windows on port 4444:








- The transfer is successful:





2 - From Windows to Linux


- Linux listens on port 4444, and redirects all incoming data to a file called IN. 




- Windows sends the file FileForLinux to Kali on port 4444:




- The transfer is successful: