metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
SNMP::SNMPv2_Trap#source_ip=
Returns the source IP address for the trap, usually derived from the source IP address of the packet that delivered the trap.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/snmp/pdu.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SNMP--SNMPv2_Trap-source_ip--for-pr
# Commit to gitgit add lib/snmp/pdu.rbgit commit -m "better docs for SNMP::SNMPv2_Trap#source_ip="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SNMP--SNMPv2_Trap-source_ip--for-pr
hub pull-request
# Celebrate!