metasploit-framework

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

Ruby

Metasploit Framework

Msf::Auxiliary::AuthBrute#print_brute

Provides a consistant way to display messages about AuthBrute-mixed modules.
Acceptable opts are fairly self-explanatory, but :level can be tricky.

It can be one of status, good, error, or line (and corresponds to the usual
print_status, print_good, etc. methods).

If it's preceded by a "v" (ie, vgood, verror, etc), only print if
datastore["VERBOSE"] is set to true.

If :level would make the method nonsense, default to print_status.

TODO: This needs to be simpler to be useful.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/auxiliary/auth_brute.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Auxiliary--AuthBrute-print_brute-for-pr


# Commit to git

git add lib/msf/core/auxiliary/auth_brute.rbgit commit -m "better docs for Msf::Auxiliary::AuthBrute#print_brute"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Msf--Auxiliary--AuthBrute-print_brute-for-pr

hub pull-request


# Celebrate!