Difference between revisions of "Nc -v"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
  nc -v 10.11.3.236 5433
 
  nc -v 10.11.3.236 5433
 
  Ncat: Version 7.50 ( https://nmap.org/ncat )
 
  Ncat: Version 7.50 ( https://nmap.org/ncat )
  Ncat: Connection timed out.
+
  Ncat: [[Connection timed out]].
  
  
Line 13: Line 13:
 
  Ncat: Version 7.50 ( https://nmap.org/ncat )
 
  Ncat: Version 7.50 ( https://nmap.org/ncat )
 
  Ncat: Connected to 127.0.0.1:8332.
 
  Ncat: Connected to 127.0.0.1:8332.
+
 
 +
<pre>
 
  HTTP/1.1 400 Bad Request
 
  HTTP/1.1 400 Bad Request
 
  Content-Type: text/html
 
  Content-Type: text/html
Line 25: Line 26:
 
  <H1>Bad Request</H1>
 
  <H1>Bad Request</H1>
 
  </BODY></HTML>
 
  </BODY></HTML>
 +
</pre>
  
 
== Related ==
 
== Related ==
* [[nping]]
+
* <code>[[nping]]</code>
 +
* [[nc -zv]]  specifies that nc should just scan for listening daemons, without sending any data to them
  
 
== See also ==
 
== See also ==

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: