Navigating the Metasploit Console
Start msfconsole from your Kali terminal. You will see the Metasploit prompt: msf6 >.
Essential Commands
| Command | Function |
|---|---|
search [keyword] | Searches for modules matching the keyword. |
use [module_path] | Loads a specific module (exploit or auxiliary). |
info | Displays detailed information about the currently loaded module. |
show options | Lists all necessary configuration settings (variables) for the module. |
set [variable] [value] | Sets the value of a specific option. |
run or exploit | Executes the loaded module. |
Example Workflow
-
Find the module: msfconsole search ftp
-
Select the exploit: msfconsole use exploit/unix/ftp/vsftpd_234_backdoor