Jump to content

Netcat: Difference between revisions

From sexy wiki
Created page with "= нетcat = = nc ="
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
= нетcat =
= nc // нетcat =
= nc =
 
Netcat differs a lot in syntax across versions.<br>
 
== Examples ==
 
Test localhost port 8080, verbose (-v), only scan for listening demons (-z):<br>
<code>nc -vz localhost 8080</code><br>
 
Start a listening demon on port 1312:<br>
<code>nc -l 1312</code><br>
 
Connect interactively:<br>
<code>nc localhost 1312</code><br>
 
 
<code></code><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