Metasploit Meterpreter Script - Screenshot
I worked on a new Meterpreter script that has a couple interesting features. The main purpose of the script is to take a screenshot of the target. This is handled by uploading and executing boxcutter, a GPL'd command line screenshot utility. The script will then automatically generate a VBscript for building a Zip file and adding the screenshot to it. This was necessary because the uncompressed screenshots can take a while to transfer.
I used Darkoperator's memdump script as the starting point for screenshot. I adjusted the name of the created files so they are the datestamp when the script was run rather than a random integer. This gives a bit more information and makes the results sortable. I also added the Zip routine.
Pretty basic stuff, but it has a nice result.
Attachments
- screenshot.rb (5.0 kB) - added by john 18 months ago.


rss
Comments
my screenshot zip is empty, though STDOUT would suggest that the script ran without issue.