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.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/snmp/pdu.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SNMP--SNMPv2_Trap-source_ip--for-pr


# Commit to git

git add lib/snmp/pdu.rbgit commit -m "better docs for SNMP::SNMPv2_Trap#source_ip="


# 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--SNMPv2_Trap-source_ip--for-pr

hub pull-request


# Celebrate!