Last updated: November 12, 2022
As you know, after exploiting a flaw on a target machine with the Metasploit Framework, a session meterpreter is open, which gives us full control of the machine. But how do you take full advantage of all the commands in this excellent Meterpreter script?
Here we will see the list of the main meterpreter commands that you will need to properly manipulate the system the way you want to use the full power of scripting.
The article "What is Metasploit and how to use it well"clearly explains the tool Metasploit with practical and easy examples. It is very useful to have read it before continuing to read this one.
The main Meterpreter commands
Getcountermeasure
Getcountermeasure allows you to disable security measures such as antivirus, firewalls, and others.
Gettelnet
The gettelnet script is used to enable telnet on the victim's machine.
Checkvm
Checkvm used to see if you are running a virtual machine or not.
Prefetchtool
prefetchtool allows you to have the 10 programs most used by the target machine.
KillAV
KillAV allows most antivirus programs to be disabled.
sysinfo
sysinfo displays information about the operating system used by the victim.
Shell
Shell gives you the option to open an MS-DOS dialog box
ScreenSpy
ScreenSpy a very useful command for taking screenshots remotely.
scraper
scrapper allows us to import a whole lot of information on the target (the registry, hash, users,…) onto our computer.
Keylogrecorder
keylogrecorder allows us to start a keylogger on the victim's pc.
I have a slight problem, it's that the meterpreter session does not open, it's very strange, I receive the victim and all, but the meterpreter session does not open on a separate terminal, if I go through armitage, it works, an explanation, please.
Only one thing to say: Bravo! Continue...
Excellent work on http://www.funinformatique.com
Thank you