metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#arch_check
Checks the Architeture of a Payload and PID are compatible Returns true if they are false if they are not
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/windows/local/payload_inject.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-arch_check-for-pr
# Commit to gitgit add modules/exploits/windows/local/payload_inject.rbgit commit -m "better docs for MetasploitModule#arch_check"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-arch_check-for-pr
hub pull-request
# Celebrate!