metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
SNMP::Manager#validate_row
Helper method for walk. Checks all of the VarBinds in vb_list to make sure that the row indices match. If the row index does not match the index column, then that varbind is replaced with a varbind with a value of NoSuchInstance.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/snmp/manager.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SNMP--Manager-validate_row-for-pr
# Commit to gitgit add lib/snmp/manager.rbgit commit -m "better docs for SNMP::Manager#validate_row"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SNMP--Manager-validate_row-for-pr
hub pull-request
# Celebrate!