SYNOPSIS
Snmpscan is a simple, yet powerful (and fast!) command-line SNMP scanner. Its aim is to reproduce the funcionalities of popular tools such as nbtscan, scanssh, smtpscan and other.
*WEB REFERENCES*
Home page: snmpscan.rubyforge.org/ Project page (and download): rubyforge.org/projects/snmpscan/
REQUISITIES
You must have Ruby installed (of course!) and the wonderful SNMP Ruby library written by Dave Halliday (snmplib.rubyforge.org/). Download a copy from rubyforge.org/projects/snmplib/ or simply do a
# gem install snmp
INSTALLATION
If you got this software on a tarball tgz, simply install it with
# ruby setup.rb
Otherwise you can use gem:
# gem install snmpscan
EXAMPLES
Directly from the online help:
snmpscan 10.10.10.64
Scans host 10.10.10.64 with default values
snmpscan -t 200 -c comread -m sysName 172.30.149.0/24
Scans a range of 255 addresses for mib sysName.0, with comunity
password "comread" and a timeout value of 200 milliseconds
If you use the -V (–verbose) option, you will have more output, like a string with the motivation for the failed scan for every host:
snmpscan -V 172.30.149.0/24
172.30.149.0: host 172.30.149.0 not responding
172.30.149.1: host 172.30.149.0 not responding
and so on.
*AUTHOR and LICENSE*
This software is written by Marco Ceresa. [email protected]
License: Ruby.