netcat
Banner Grabs
nc 172.104.31.121 443
Files
download
netcat -l -p 4444 > myfile.txt
upload
nc 192.168.122.239 4444 < thefile.txt
web server
once
nc -l 4444 < index.html
persistent
nc -k -l 4444 < index.html
Generic Server
TCP on 514
Server
sudo nc -l -p 514
On the client, run the command below, press ENTER and type anything. You should be able to see what you type on the server.
Client
nc localhost 514
If all is good, edit the rsyslog configuration file as shown below;
UDP on 514
server
nc -ul 514
client
nc -u 192.168.43.154 514
Scanner
with DNS
nc -z -v 192.168.122.1 1-30
without DNS
nc -z -v 192.168.122.1 1-30
verbose Scan
nc -z -v -n 192.168.122.1 1-1000