metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#makefptr
Returns a pointer. We re-base the pointer so that it may be used as a file pointer. In the D20 memory, the file is located in flat memory at 0x00800000.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/auxiliary/gather/d20pass.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-makefptr-for-pr
# Commit to gitgit add modules/auxiliary/gather/d20pass.rbgit commit -m "better docs for MetasploitModule#makefptr"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-makefptr-for-pr
hub pull-request
# Celebrate!