metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Nokogiri::XML::Builder#custom_root
Some XML documents don't declare the namespace before referencing, but Nokogiri requires one. So here's our hack to get around that by adding a new custom method to the Builder class
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/windows/fileformat/mswin_tiff_overflow.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Nokogiri--XML--Builder-custom_root-for-pr
# Commit to gitgit add modules/exploits/windows/fileformat/mswin_tiff_overflow.rbgit commit -m "better docs for Nokogiri::XML::Builder#custom_root"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Nokogiri--XML--Builder-custom_root-for-pr
hub pull-request
# Celebrate!