metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
SNMP::BER#decode_uinteger_value
Decode an integer, ignoring the sign bit. Some agents insist on encoding 32 bit unsigned integers with four bytes even though it should be 5 bytes (at least the way I read it).
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/snmp/ber.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SNMP--BER-decode_uinteger_value-for-pr
# Commit to gitgit add lib/snmp/ber.rbgit commit -m "better docs for SNMP::BER#decode_uinteger_value"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SNMP--BER-decode_uinteger_value-for-pr
hub pull-request
# Celebrate!