HOME>>>>>>>>>

File banner

脚本使用类型: portrule
脚本所属分类: discovery, safe
脚本下载地址: 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.

Script Arguments

banner.timeout

How long to wait for a banner. Default: 5s

banner.ports

Which ports to grab. Same syntax as -p option. Use "common" to only grab common text-protocol banners. Default: all ports.

Example Usage

执行格式

nmap -sV --script=banner <target>

Script Output

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

Requires


Author: jah

License: VER007 整理 http://www.ver007.com

action

action (host, port)

Grabs a banner and outputs it nicely formatted.

Parameters

portrule

portrule (host, port)

Script is executed for any TCP port.

Parameters