Course contentsShow
← Security
Lesson 2194 of 3,05243. Offensive Security ToolingFree lesson

MSFconsole Fundamentals

Mastering the primary Metasploit interface: navigation, searching, module selection, and workspace management.

MSFconsole Fundamentals

You'll learn: How to effectively navigate and operate Metasploit's primary command-line interface for exploit development and penetration testing.

What is MSFconsole?

MSFconsole is Metasploit's interactive command-line interface—your mission control for exploit deployment. Think of it like a specialized shell built specifically for offensive security work. Unlike scattered scripts and tools, MSFconsole provides a unified environment where you can search for exploits, configure payloads, manage targets, and execute attacks—all from one centralized interface.

Core Operations

Starting and Navigating

Launch MSFconsole from your terminal with the msfconsole command. You'll be greeted with the distinctive banner and the msf6 > prompt. From here, everything flows through simple, intuitive commands.

Searching and Module Selection

The search command is your discovery tool. Need an exploit for a specific service? Try search type:exploit smb. Looking for auxiliary scanners? Use search type:auxiliary http. Results show module paths, names, disclosure dates, and ranks—helping you quickly identify what you need.

Once you've found your module, select it with use followed by the module path: use exploit/windows/smb/ms17_010_eternalblue.

Workspace Management

Workspaces keep your operations organized—essential when juggling multiple engagements. The workspace command lists existing spaces, while workspace -a project_name creates new ones. Think of workspaces like project folders that isolate hosts, scan data, and notes per engagement.

Use workspace project_name to switch contexts instantly, keeping client data separated and preventing accidental cross-contamination.

Navigation Helpers

The back command exits your current module. Use help anytime for command references, and leverage tab completion to speed up module selection and option configuration.

Key Takeaway: MSFconsole mastery means efficient searching, precise module selection, and organized workspace management—the foundation for professional exploit deployment.