HOME>>>>>>>>>

File snmp-netstat

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

User Summary

Attempts to query SNMP for a netstat like output. The script can be used to identify and automatically add new targets to the scan by supplying the newtargets script argument.

Script Arguments

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-netstat:  
|   TCP  0.0.0.0:21           0.0.0.0:2256
|   TCP  0.0.0.0:80           0.0.0.0:8218
|   TCP  0.0.0.0:135          0.0.0.0:53285
|   TCP  0.0.0.0:389          0.0.0.0:38990
|   TCP  0.0.0.0:445          0.0.0.0:49158
|   TCP  127.0.0.1:389        127.0.0.1:1045
|   TCP  127.0.0.1:389        127.0.0.1:1048
|   UDP  192.168.56.3:137     *:*
|   UDP  192.168.56.3:138     *:*
|   UDP  192.168.56.3:389     *:*
|_  UDP  192.168.56.3:464     *:*

Requires


Author: Patrik Karlsson

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