metasploit-framework

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

Ruby

Metasploit Framework

Msf::Exploit::Brute#brute_exploit

This routine is called once per brute force iteration.  The addresses
parameter is a hash of addresses that are incremented each iteration and
are derived from the target's bruteforce information or the module's
datastore in case they are being overriden.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/exploit/brute.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Exploit--Brute-brute_exploit-for-pr


# Commit to git

git add lib/msf/core/exploit/brute.rbgit commit -m "better docs for Msf::Exploit::Brute#brute_exploit"


# 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--Exploit--Brute-brute_exploit-for-pr

hub pull-request


# Celebrate!