metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
#lock_screen
Function for locking the screen -- Thanks for the idea and API call Mubix
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open scripts/meterpreter/keylogrecorder.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs--lock_screen-for-pr
# Commit to gitgit add scripts/meterpreter/keylogrecorder.rbgit commit -m "better docs for #lock_screen"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs--lock_screen-for-pr
hub pull-request
# Celebrate!