metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

SNMP::MIB#varbind_list

Returns a VarBindList for the provided list of objects.  If a
string is provided it is interpretted as a symbolic OID.

This method accepts many different kinds of objects:
- single string object IDs e.g. "1.3.6.1" or "IF-MIB::ifTable.1.1"
- single ObjectId
- list of string object IDs
- list of ObjectIds
- list of VarBinds

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/snmp/mib.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SNMP--MIB-varbind_list-for-pr


# Commit to git

git add lib/snmp/mib.rbgit commit -m "better docs for SNMP::MIB#varbind_list"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-SNMP--MIB-varbind_list-for-pr

hub pull-request


# Celebrate!