metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

MetasploitModule#int_version

Takes a x.y.z version number and turns it into an integer for
easier comparison. Useful for other things probably so should
get moved up to Rex. Allows for version increments up to 0xff.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open modules/auxiliary/scanner/mysql/mysql_login.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-int_version-for-pr


# Commit to git

git add modules/auxiliary/scanner/mysql/mysql_login.rbgit commit -m "better docs for MetasploitModule#int_version"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-MetasploitModule-int_version-for-pr

hub pull-request


# Celebrate!