metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::Proto::DCERPC::Response#initialize
Create a new DCERPC::Response object This can be initialized in two ways: 1) Call .new() with the first 10 bytes of packet, then call parse on the rest 2) Call .new() with the full packet contents
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rex/proto/dcerpc/response.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rex--Proto--DCERPC--Response-initialize-for-pr
# Commit to gitgit add lib/rex/proto/dcerpc/response.rbgit commit -m "better docs for Rex::Proto::DCERPC::Response#initialize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rex--Proto--DCERPC--Response-initialize-for-pr
hub pull-request
# Celebrate!