Using a scraper Meterpreter script
So far, we have learned about several Meterpreter commands. Here, we will take a look at an important Meterpreter script which can help us in exploring our target deeper. This chapter extensively covers Meterpreter scripts, so here, we will just focus on using the script. Penetration testing might require a lot of time to dig out information on the target. So, having a local backup of useful information can be really handy for penetration testers so that even if the target is down, they still have information to work on. It also makes sharing information with other testers easy. Scraper accomplishes this task for us.
Getting ready
The scraper Meterpreter script can dig out lots of information about the compromised target, such as registry information, password hashes, and network information, and store it locally on the tester's machine.
In order to execute a Ruby script on the target using Meterpreter, we can use the run
command. Let's move ahead and analyze...