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
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 branchgit checkout -b -your-name--update-docs-MetasploitModule-check_hku_entry-for-pr
# Commit to gitgit add modules/auxiliary/scanner/smb/psexec_loggedin_users.rbgit commit -m "better docs for MetasploitModule#check_hku_entry"
# Open pull requestgem 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!