ToolsFebruary 9, 20261 min readby 0xt0pus

Metasploit (msfconsole)

Exploitation framework with modules for scanning, exploitation, and post-exploitation


Msfconsole (Metasploit Framework)

Description

Msfconsole is the primary interface for the Metasploit Framework. It is used for exploitation, post-exploitation, maintaining access, and pivoting. It contains hundreds of exploits and auxiliary modules.

Usage 1: Launch Metasploit

Command:

msfconsole

Command (Quiet mode):

msfconsole -q

Usage 2: PSExec Module for Pass the Hash

Used for lateral movement via SMB with known credentials or hashes.

Command:

use exploit/windows/smb/psexec

Usage 3: Loading Mimikatz in Meterpreter

Load mimikatz extension in a meterpreter session.

Command:

load mimikatz

Command (Mimikatz help menu):

mimikatz_command -f *::