metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#extract_key
Ruby gem credentials are pretty standard and can come in a few flavors, but the most common are straight yaml and json, both of which are colon delimited. I suppose you could concievably have more than one, but that'd be manually editing, and the first one is probably the best one anyway.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/multi/gather/rubygems_api_key.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-extract_key-for-pr
# Commit to gitgit add modules/post/multi/gather/rubygems_api_key.rbgit commit -m "better docs for MetasploitModule#extract_key"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-extract_key-for-pr
hub pull-request
# Celebrate!