Jump to content

Netcat: Difference between revisions

From sexy wiki
No edit summary
 
Line 2: Line 2:


Netcat differs a lot in syntax across versions.<br>
Netcat differs a lot in syntax across versions.<br>
== Examples ==


Test localhost port 8080, verbose (-v), only scan for listening demons (-z):<br>
Test localhost port 8080, verbose (-v), only scan for listening demons (-z):<br>

Latest revision as of 15:55, 13 August 2026

nc // нетcat

Netcat differs a lot in syntax across versions.

Examples

Test localhost port 8080, verbose (-v), only scan for listening demons (-z):
nc -vz localhost 8080

Start a listening demon on port 1312:
nc -l 1312

Connect interactively:
nc localhost 1312