Difference between revisions of "Nc -v"

From wikieduonline
Jump to navigation Jump to search
(Changed redirect target from Nc to Netcat)
Tag: Redirect target changed
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#redirect [[Netcat]]
+
{{lc}}
 +
 
 +
[[nc]] -v 10.11.3.236 5432
 +
Ncat: Version 7.50 ( https://nmap.org/ncat )
 +
Ncat: Connected to 10.11.3.236:5432.
 +
 
 +
nc -v 10.11.3.236 5433
 +
Ncat: Version 7.50 ( https://nmap.org/ncat )
 +
Ncat: [[Connection timed out]].
 +
 
 +
 
 +
nc -v localhost 8332
 +
Ncat: Version 7.50 ( https://nmap.org/ncat )
 +
Ncat: Connected to 127.0.0.1:8332.
 +
 
 +
<pre>
 +
HTTP/1.1 400 Bad Request
 +
Content-Type: text/html
 +
Connection: close
 +
Date: Wed, 31 May 2023 07:06:33 GMT
 +
Content-Length: 94
 +
 +
<HTML><HEAD>
 +
<TITLE>400 Bad Request</TITLE>
 +
</HEAD><BODY>
 +
<H1>Bad Request</H1>
 +
</BODY></HTML>
 +
</pre>
 +
 
 +
== Related ==
 +
* <code>[[nping]]</code>
 +
* [[nc -zv]]  specifies that nc should just scan for listening daemons, without sending any data to them
 +
 
 +
== See also ==
 +
* {{nc}}
 +
 
 +
[[Category:Netcat]]

Latest revision as of 12:47, 12 December 2023

nc -v 10.11.3.236 5432
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 10.11.3.236:5432.
nc -v 10.11.3.236 5433
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection timed out.


nc -v localhost 8332
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 127.0.0.1:8332.
 
 HTTP/1.1 400 Bad Request
 Content-Type: text/html
 Connection: close
 Date: Wed, 31 May 2023 07:06:33 GMT
 Content-Length: 94
 
 <HTML><HEAD>
 <TITLE>400 Bad Request</TITLE>
 </HEAD><BODY>
 <H1>Bad Request</H1>
 </BODY></HTML>

Related[edit]

  • nping
  • nc -zv specifies that nc should just scan for listening daemons, without sending any data to them

See also[edit]

Advertising: