metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
SNMP::ObjectId#subtree_of?
Returns true if this ObjectId is a subtree of the provided parent tree ObjectId. For example, "1.3.6.1.5" is a subtree of "1.3.6.1".
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/snmp/varbind.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SNMP--ObjectId-subtree_of--for-pr
# Commit to gitgit add lib/snmp/varbind.rbgit commit -m "better docs for SNMP::ObjectId#subtree_of?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SNMP--ObjectId-subtree_of--for-pr
hub pull-request
# Celebrate!