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.

screenshot

  • Posted: 2009-03-25 05:34 (Updated: 2009-05-14 02:14)
  • Author: john
  • Categories: (none)

Attachments

Comments

1. dood -- 2009-11-25 16:47

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