Script snmp-ios-config

Script types: portrule
Categories: intrusive
Download: https://svn.nmap.org/nmap/scripts/snmp-ios-config.nse

Script Summary

Attempts to downloads Cisco router IOS configuration files using SNMP RW (v1) and display or save them.

Script Arguments

snmp-ios-config.tftproot

If set, specifies to what directory the downloaded config should be saved

snmp.version

See the documentation for the snmp library.

creds.[service], creds.global

See the documentation for the creds library.

Example Usage

nmap -sU -p 161 --script snmp-ios-config --script-args creds.snmp=:<community> <target>

Script Output

| snmp-ios-config:
| !
| version 12.3
| service timestamps debug datetime msec
| service timestamps log datetime msec
| no service password-encryption
| !
| hostname Router
| !
| boot-start-marker
| boot-end-marker
<snip>

Requires


Authors:

  • Vikas Singhal
  • Patrik Karlsson

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

action

action (host, port)

Sends SNMP packets to host and reads responses

Parameters

host
 
port