metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_my_file
Find all the new files from the 'uploads' directory. This trick is necessary, because when we upload a file, our filename is renamed to something else with a timestamp. Since we cannot reliability guess what the filename is going to be, we can at least compare both before/after snapshots to figure it out.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/multi/http/php_volunteer_upload_exec.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_my_file-for-pr
# Commit to gitgit add modules/exploits/multi/http/php_volunteer_upload_exec.rbgit commit -m "better docs for MetasploitModule#get_my_file"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-get_my_file-for-pr
hub pull-request
# Celebrate!