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.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/post/windows/capture/keylog_recorder.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/post/windows/capture/keylog_recorder.rbgit commit -m "better docs for MetasploitModule#get_process_name"


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

hub pull-request


# Celebrate!