metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
SNMP::MIB.import_supported?
The MIB.import_module method is only supported if the external 'smidump' tool is available. This method returns true if a known version of the tool is available.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/snmp/mib.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SNMP--MIB-import_supported--for-pr
# Commit to gitgit add lib/snmp/mib.rbgit commit -m "better docs for SNMP::MIB.import_supported?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SNMP--MIB-import_supported--for-pr
hub pull-request
# Celebrate!