Using a scraper meterpreter script
So far, we 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. The next chapter extensively covers meterpreter scripts so here we will just focus on using the script. During penetration testing, you might require 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 of 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. Executing the
run...