Category Archives: Pen Test Cheat Sheets

Netcat NC Command Line Tool Cheat Sheet – Pen Testing

Netcat listening on port 567/TCP: nc -l -p 567 Connecting to that port from another machine: nc 5676 To pipe a text file to the listener: cat infile | nc 567 -q 10 To have the listener save a received text file: nc -l -p 567 > textfile To transfer a directory, first… Read More »

Share Button