metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#check_hku_entry

This method checks a provided HKU entry to determine if it is a valid SID
Either returns nil or returns the name of a valid user

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/auxiliary/scanner/smb/psexec_loggedin_users.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/auxiliary/scanner/smb/psexec_loggedin_users.rbgit commit -m "better docs for MetasploitModule#check_hku_entry"


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

hub pull-request


# Celebrate!