metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Metasploit::Framework::Database.configurations_pathnames
Return configuration pathnames that exist.
Returns `Pathnames` in order of precedence
1. {environment_configurations_pathname}
2. {user_configurations_pathname}
3. {project_configurations_pathname}Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/metasploit/framework/database.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Metasploit--Framework--Database-configurations_pathnames-for-pr
# Commit to gitgit add lib/metasploit/framework/database.rbgit commit -m "better docs for Metasploit::Framework::Database.configurations_pathnames"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Metasploit--Framework--Database-configurations_pathnames-for-pr
hub pull-request
# Celebrate!