HOME>>>>>>>>>

File snmp-interfaces

脚本使用类型: prerule, portrule
脚本所属分类: default, discovery, safe
脚本下载地址: http://nmap.org/svn/scripts/snmp-interfaces.nse

User Summary

Attempts to enumerate network interfaces through SNMP.

This script can also be run during Nmap's pre-scanning phase and can attempt to add the SNMP server's interface addresses to the target list. The script argument snmp-interfaces.host is required to know what host to probe. To specify a port for the SNMP server other than 161, use snmp-interfaces.port. When run in this way, the script's output tells how many new targets were successfully added.

Script Arguments

snmp-interfaces.host

Specifies the SNMP server to probe when running in the "pre-scanning phase".

snmp-interfaces.port

The optional port number corresponding to the host script argument. Defaults to 161.

max-newtargets, newtargets

See the documentation for the target library.

snmpcommunity

See the documentation for the snmp library.

Example Usage

执行格式

nmap -sV -sC <target>

Script Output

| snmp-interfaces:
|   eth0
|     IP address: 192.168.221.128
|     MAC address: 00:0c:29:01:e2:74 (VMware)
|     Type: ethernetCsmacd  Speed: 1 Gbps
|_    Traffic stats: 6.45 Mb sent, 15.01 Mb received

Requires


Author: Thomas Buchanan, Kris Katterjohn

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