Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

File banner

Download: http://nmap.org/svn/scripts/banner.nse

User Summary

A simple banner grabber which connects to an open TCP port and prints out anything sent by the listening service within five seconds.

The banner will be truncated to fit into a single line, but an extra line may be printed for every increase in the level of verbosity requested on the command line.

Example Usage

nmap -sV --script=banner <target>

Script Output

21/tcp open  ftp
|_ banner: 220 FTP version 1.0\x0D\x0A

Requires


Categories: discovery safe

Author: jah

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Action

action (host, port)

Grabs a banner and outputs it nicely formatted.

Parameters

  • host:
  • port:

Portrule

portrule (host, port)

Script is executed for any TCP port.

Parameters

  • host:
  • port:

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]