ncat Command Examples

Read, write, redirect, and encrypt data across a network. An alternative implementation of a similar utility called netcat/nc. More information: https://nmap.org/ncat/guide/index.html.

ncat -l {{port}} > {{path/to/file}}

ncat -lk {{port}}

ncat {{address}} {{port}} < {{path/to/file}}

ncat --ssl -k -l {{port}}

ncat --ssl {{host}} {{port}}

ncat -w {{seconds}} -vz {{host}} {{port}}