metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#check_file_exists

This function will check if it can find the program executable
from the path it found from the registry. Permissions might affect
if it detects the executable but it should be otherwise fairly
reliable.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/post/windows/gather/enum_muicache.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/post/windows/gather/enum_muicache.rbgit commit -m "better docs for MetasploitModule#check_file_exists"


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

hub pull-request


# Celebrate!