Nmap http-server-header NSE Script


This page contains detailed information about how to use the http-server-header NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/http-server-header.nse
Script categories: version
Target service / protocol: http, https
Target network port(s): 80, 443, 631, 7080, 8080, 8443, 8088, 5800, 3872, 8180, 8000
List of CVEs: -

Script Description


The http-server-header.nse script uses the HTTP Server header for missing version info. This is currently infeasible with version probes because of the need to match non-HTTP services correctly.

Http-server-header NSE Script Arguments


The http-server-header.nse script does not have any arguments.

Http-server-header NSE Script Example Usage


Here's an example of how to use the http-server-header.nse script:

nmap --script=http-server-header <target>

Http-server-header NSE Script Example Output


Here's a sample output from the http-server-header.nse script:

PORT   STATE SERVICE VERSION
80/tcp open  http    Unidentified Server 1.0

PORT   STATE SERVICE VERSION
80/tcp open  http    Unidentified Server 1.0
|_ http-server-header: Unidentified Server 1.0

Http-server-header NSE Script Example XML Output


Here's a sample XML output from the http-server-header.nse script produced by providing the -oX <file> Nmap option:

<table key="Server">
  <elem>Unidentified Server 1.0</elem>
  <elem>SomeOther Server</elem>
</table>

Author


  • Daniel Miller

References


See Also


Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.