Difference between revisions of "Nc -v"
Jump to navigation
Jump to search
(Removed redirect to Netcat) Tag: Removed redirect |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | nc -v 10.11.3.236 5432 | + | [[nc]] -v 10.11.3.236 5432 |
Ncat: Version 7.50 ( https://nmap.org/ncat ) | Ncat: Version 7.50 ( https://nmap.org/ncat ) | ||
Ncat: Connected to 10.11.3.236:5432. | 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}} | * {{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: