metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#get_install_path

Tries to guess the HP OpenView install dir via the Directory traversal identified
by OSVDB 44359.
If OSVDB 44359 doesn't allow to retrieve the installation path the default one
(C:\Program Files\HP OpenView\) is used.
Directory Traversal used:
http://host/OvCgi/OpenView5.exe?Context=Snmp&Action=../../../log/setup.log

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/windows/http/efs_easychatserver_username.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/windows/http/efs_easychatserver_username.rbgit commit -m "better docs for MetasploitModule#get_install_path"


# 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-get_install_path-for-pr

hub pull-request


# Celebrate!