metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Exploit::Brute#import_from_datastore
Imports information into the supplied hash from the datastore. This is a way of allowing the user to override values for a specific brute force target by name without them actually being conveyed in the options list. This is a bit of a change from 2.x, but 2.x didn't have per-target brute force addresses, which I think is more valuable.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/exploit/brute.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Exploit--Brute-import_from_datastore-for-pr
# Commit to gitgit add lib/msf/core/exploit/brute.rbgit commit -m "better docs for Msf::Exploit::Brute#import_from_datastore"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Exploit--Brute-import_from_datastore-for-pr
hub pull-request
# Celebrate!