Browse Exploit & Auxiliary Modules

The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.

Search for modules

SNMP Community Scanner

Scan for SNMP devices using common community names


Rank

  • Normal

Authors

  • hdm < hdm [at] metasploit.com >

References


Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use auxiliary/scanner/snmp/snmp_login
msf auxiliary(snmp_login) > set RHOSTS [TARGET HOST RANGE]
msf auxiliary(snmp_login) > run


Module Options

BATCHSIZE The number of hosts to probe in each set (default: 256)
BLANK_PASSWORDS Try blank passwords for all users (default: true)
BRUTEFORCE_SPEED How fast to bruteforce, from 0 to 5 (default: 5)
CHOST The local client address
PASSWORD The password to test
PASS_FILE File containing communities, one per line (default: /home/svn/jobs/msf3/data/wordlists/snmp_default_pass.txt)
RHOSTS The target address range or CIDR identifier
RPORT The target port (default: 161)
STOP_ON_SUCCESS Stop guessing when a credential works for a host
THREADS The number of concurrent threads (default: 1)
USER_AS_PASS Try the username as the password for all users (default: true)
VERBOSE Whether to print output for all attempts (default: true)
MaxGuessesPerService Maximum number of credentials to try per service instance. If set to zero or a non-number, this option will not be used.
MaxGuessesPerUser Maximum guesses for a particular username for the service instance. Note that users are considered unique among different services, so a user at 10.1.1.1:22 is different from one at 10.2.2.2:22, and both will be tried up to the MaxGuessesPerUser limit. If set to zero or a non-number, this option will not be used.
MaxMinutesPerService Maximum time in minutes to bruteforce the service instance. If set to zero or a non-number, this option will not be used.
REMOVE_PASS_FILE Automatically delete the PASS_FILE on module completion
REMOVE_USERPASS_FILE Automatically delete the USERPASS_FILE on module completion
REMOVE_USER_FILE Automatically delete the USER_FILE on module completion
ShowProgress Display progress messages during a scan
ShowProgressPercent The interval in percent that progress should be shown
WORKSPACE Specify the workspace for this module