Transfer file (receiver)
Receive a file from a netcat sender
nc 192.168.1.1 4444 > file.tar.gz
- tool
- netcat10 commands
More netcat commands
-
nc -u 192.168.1.1 5005Connect using UDP instead of TCP
-
echo -e "GET / HTTP/1.0 " | nc example.com 80Send a raw HTTP GET request with netcat
-
nc -lvp 4444Wait for an incoming reverse shell connection
-
nc -v 192.168.1.1 22Connect to port and read service banner
-
nc -w 3 192.168.1.1 80Set connection timeout to 3 seconds