Nmap snmp-sysdescr NSE Script


This page contains detailed information about how to use the snmp-sysdescr NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/snmp-sysdescr.nse
Script categories: default, discovery, safe
Target service / protocol: snmp, udp
Target network port(s): 161
List of CVEs: -

Script Description


The snmp-sysdescr.nse script attempts to extract system information from an SNMP service.

Snmp-sysdescr NSE Script Arguments


This is a full list of arguments supported by the snmp-sysdescr.nse script:

creds.global

Credentials to be returned by Credentials.getCredentials regardless of the service.

creds.[service]

Credentials to be returned by Credentials.getCredentials for [service]. E.g. creds.http=admin:password

snmp.version

The SNMP protocol version. Use "v1" or 0 for SNMPv1 (default) and "v2c" or 1 for SNMPv2c.

- - -
To use these script arguments, add them to the Nmap command line using the --script-args arg1=value,[arg2=value,..] syntax. For example:

nmap --script=snmp-sysdescr --script-args creds.global=value,creds.\[service]=value <target>

Snmp-sysdescr NSE Script Example Usage


Here's an example of how to use the snmp-sysdescr.nse script:

nmap -sU -p 161 --script snmp-sysdescr <target>

Snmp-sysdescr NSE Script Example Output


Here's a sample output from the snmp-sysdescr.nse script:

|  snmp-sysdescr: HP ETHERNET MULTI-ENVIRONMENT,ROM A.25.80,JETDIRECT,JD117,EEPROM V.28.22,CIDATE 08/09/2006
|_   System uptime: 28 days, 17:18:59 (248153900 timeticks)

Snmp-sysdescr NSE Script Example XML Output


There is no sample XML output for this module. However, by providing the -oX <file> option, Nmap will produce a XML output and save it in the file.xml file.

Author


  • Thomas Buchanan

References


See Also


Related NSE scripts to the snmp-sysdescr.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.