metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#enum_values

-------------------------------------------------------------------------------
Function to enumerate the values in the given key
key_str		Full string representation of the key from which values should be enumerated
returns		Hash of string representations of: Value.name => Value

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/post/windows/gather/usb_history.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-enum_values-for-pr


# Commit to git

git add modules/post/windows/gather/usb_history.rbgit commit -m "better docs for MetasploitModule#enum_values"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-MetasploitModule-enum_values-for-pr

hub pull-request


# Celebrate!