Linux, Netcat, Tools

Banner grabbing with netcat!

To gather more information about a service running on a system’s open port we are going to use a known technique, known as banner grabbing and netcat network tool.

 nc -nvv x.x.x.x 80

-n        Suppress name/port resolutions
-v        Verbose

You will get an answer like this:

Connection to 80 port [tcp/*] succeeded!

if the connection was established.

Then type the following command:


To get the http headers:

HTTP/1.1 200 OK
Date: …..
Server: …..
Last-Modified: …..
ETag: ……
Accept-Ranges: bytes
Content-Length: ….
Vary: Accept-Encoding
Content-Type: text/html
Connection: close