msfconsole
The framework itself. Search for modules, configure options, launch exploits, and manage every session from one interface.
Meterpreter
What you get after a successful exploit. An in-memory agent for file operations, privilege escalation, and further post-exploitation, without dropping extra tools to disk.
Getting Started
The database needs to be initialized once before first use, Metasploit falls back to working without it, but you lose the host/service tracking that makes the database worth using in the first place.Workspace and Database
Metasploit’s database tracks hosts, services, and vulnerabilities across a whole engagement, which saves you from re-scanning or re-typing targets every session. Setting up a workspace per engagement keeps results from bleeding into each other.Manual database setup
Manual database setup
If a database isn’t already connected, create and connect to one manually:
Finding and Configuring Modules
Everything in Metasploit, exploits, auxiliary scanners, and payloads, is a module you search for, load, and configure the same way.Running Exploits
Session Management
Once a module succeeds, the session it opens needs to be managed, especially once you’ve got more than one shell running at a time.Acting across multiple sessions at once
Acting across multiple sessions at once
Meterpreter: File and System
Once you’ve got a Meterpreter session, these cover the basics: finding out where you landed and moving files in or out.Meterpreter: Privilege Escalation and Tokens
Token impersonation and process migration are usually how you go from an initial low-privilege session to something with real reach on the host.incognito extension loaded first:
Executing a process with stolen tokens
Executing a process with stolen tokens
Meterpreter: Credentials and Surveillance
hashdump only pulls local SAM hashes. For anything beyond that, the kiwi extension (Mimikatz built into Meterpreter) gets plaintext credentials and tickets straight out of memory:
Network sniffing from Meterpreter
Network sniffing from Meterpreter
Meterpreter: Persistence and Cleanup
Pivoting and Web Scanning
WMAP web application scanner
WMAP web application scanner
WMAP runs a basic web vulnerability scan from inside msfconsole, convenient when you’re already in the console but not a replacement for a dedicated scanner.WMAP documentation
Quick Reference Tools
metasploit-autopwn
Plugin that automatically matches detected open ports against known vulnerable modules.
PayloadsAllTheThings: Metasploit
Broader community-maintained reference for msfconsole usage.

