metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::Proto::TFTP::Client#blockify_file_or_data
Note that the local filename for uploading need not be a real filename -- if it begins with DATA: it can be any old string of bytes. If it's missing completely, then just quit.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rex/proto/tftp/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rex--Proto--TFTP--Client-blockify_file_or_data-for-pr
# Commit to gitgit add lib/rex/proto/tftp/client.rbgit commit -m "better docs for Rex::Proto::TFTP::Client#blockify_file_or_data"
# 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--TFTP--Client-blockify_file_or_data-for-pr
hub pull-request
# Celebrate!