metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#on_client_command_retr
Handle the FTP RETR request. This is where we transfer our actual malicious payload
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/osx/browser/safari_file_policy.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-on_client_command_retr-for-pr
# Commit to gitgit add modules/exploits/osx/browser/safari_file_policy.rbgit commit -m "better docs for MetasploitModule#on_client_command_retr"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-on_client_command_retr-for-pr
hub pull-request
# Celebrate!