metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Ui::Console::CommandDispatcher::Common#arg_port_range
Parse +arg+ into an array of ports and append the result into +port_ranges+ Returns true if parsing was successful or nil otherwise. NOTE: This modifies +port_ranges+
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/ui/console/command_dispatcher/common.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Ui--Console--CommandDispatcher--Common-arg_port_range-for-pr
# Commit to gitgit add lib/msf/ui/console/command_dispatcher/common.rbgit commit -m "better docs for Msf::Ui::Console::CommandDispatcher::Common#arg_port_range"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Ui--Console--CommandDispatcher--Common-arg_port_range-for-pr
hub pull-request
# Celebrate!