metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_process_name
This function returns the process name that the session is running in. Note: "session.sys.process[proc_name]" will not work when "include Msf::Post::Windows::Priv" is in the module.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/windows/capture/keylog_recorder.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_process_name-for-pr
# Commit to gitgit add modules/post/windows/capture/keylog_recorder.rbgit commit -m "better docs for MetasploitModule#get_process_name"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-get_process_name-for-pr
hub pull-request
# Celebrate!