Metasploit Cheat Sheet
idk :)
Summary
Installation
Sessions
Background handler
Meterpreter - Basic
Generate a meterpreter
Meterpreter Webdelivery
Get System
Persistence Startup
Network Monitoring
Portforward
Upload / Download
Execute from Memory
Mimikatz
Pass the Hash - PSExec
Use SOCKS Proxy
Scripting Metasploit
Multiple transports
Best of - Exploits
References
Installation
or docker
Sessions
Background handler
ExitOnSession : the handler will not exit if the meterpreter dies.
Meterpreter - Basic
Generate a meterpreter
Meterpreter Webdelivery
Set up a Powershell web delivery listening on port 8080.
Get System
Persistence Startup
Network Monitoring
Portforward
Upload / Download
Execute from Memory
Mimikatz
Pass the Hash - PSExec
Use SOCKS Proxy
Scripting Metasploit
Using a .rc file, write the commands to execute, then run msfconsole -r ./file.rc. Here is a simple example to script the deployment of a handler an create an Office doc with macro.
Multiple transports
Then, in AddTransports.ps1
Best of - Exploits
MS17-10 Eternal Blue -
exploit/windows/smb/ms17_010_eternalblueMS08_67 -
exploit/windows/smb/ms08_067_netapi
References
Last updated
Was this helpful?