metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#execute_cmdstager_begin
Make the modifications required to the specific encoder
This exploit uses an specific encoder because quotes (")
aren't allowed when injecting commandsEdit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-execute_cmdstager_begin-for-pr
# Commit to gitgit add modules/exploits/windows/misc/hp_dataprotector_exec_bar.rbgit commit -m "better docs for MetasploitModule#execute_cmdstager_begin"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-execute_cmdstager_begin-for-pr
hub pull-request
# Celebrate!