metasploit-framework

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

Ruby

Metasploit Framework

ExtendHash#key_downcase!

Returns an hash with all the
keys turned into downcase

  hsh = {"Test" => 1, "FooBar" => 2}
  hsh.key_downcase!
     #=> {"test"=>1,"foobar"=>2}

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/net/dns/resolver.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ExtendHash-key_downcase--for-pr


# Commit to git

git add lib/net/dns/resolver.rbgit commit -m "better docs for ExtendHash#key_downcase!"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-ExtendHash-key_downcase--for-pr

hub pull-request


# Celebrate!