metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#make_smb1_trans2_exploit_packet
Type can be :eb_trans2_zero, :eb_trans2_buffer, or :eb_trans2_exploit
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/windows/smb/ms17_010_eternalblue.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-make_smb1_trans2_exploit_packet-for-pr
# Commit to gitgit add modules/exploits/windows/smb/ms17_010_eternalblue.rbgit commit -m "better docs for MetasploitModule#make_smb1_trans2_exploit_packet"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-make_smb1_trans2_exploit_packet-for-pr
hub pull-request
# Celebrate!