Metasploit is an advanced hacking tool that comes itself with a complete lack of advanced penetration testing tools. Penetration testers and hackers are taking so much advantage of this tool. It's a complete hack pack for a hacker that he can play almost any attack with it. Here I am going to discuss the basics of Metasploit. I am not covering attacks in this article, as I am just making sure to share the basics of Metasploit and basic commands of Metasploit. So, we can get back to cover attacks of Metasploit in the next articles.
BASICS OF METASPLOIT
The Metasploit framework has three types of working environments.
- msfconsole
- msfcli interface
- msfweb interface
However, the most preferred and used is the 'msfconsole'. It's a very efficient command-line interface that has its own set of commands and system's working environment.
First of all, it's most important to know and understand all the useful commands of Metasploit that are going to be used.
BASIC COMMANDS OF METASPLOIT
Metasploit have a huge number of command that we can use in different type of attacks, but I am just going to share the most used and useful commands here that a beginner can easily understand and follow 'em.
- help (It will give the basic commands you need to launch an exploit.
- search (Finds out the keywords in the selected attack method).
- show exploits (Shows list of an available exploit in the selected option).
- show payloads (It lists all the payloads available).
- show options (It helps you to know all the options if you might have forgotten one).
- info (This is used to get information about any exploit or payload).
- use (It tells Metasploit to use the exploit with the specified name).
- set RHOST (Sets the address of specified remote host).
- set RPORT (Sets up a port that connects to on the remote host).
- set PAYLOAD (It sets the payload that gives you a shell when a service is exploited).
- set LPORT (Sets the port number that the payload will open on the server when an exploit is exploited).
- exploit (It actually exploits the service).
- rexploit (Reloads your exploit code and then executes the exploit without restarting the console).
These are the most used Metasploit commands which come in handy in most of the situations during any sort of attack. You must give all the commands a try and understand 'em how it works and then move to the next part of designing an attack.
Related links
- Pentest Tools For Mac
- Hacker Tools Free
- Hacking Apps
- Hack Tools For Ubuntu
- Pentest Tools Bluekeep
- Pentest Tools Find Subdomains
- Hak5 Tools
- Hacking Tools For Windows
- Hacks And Tools
- Pentest Tools Linux
- Best Hacking Tools 2020
- Hack Tools Pc
- Pentest Tools Url Fuzzer
- Pentest Tools For Mac
- Best Hacking Tools 2019
- Hack Tools Pc
- Pentest Tools Linux
- Hacking Tools Usb
- Hack Tools Mac
- Hacker Tools For Mac
- Pentest Tools Port Scanner
- Best Hacking Tools 2020
- Hacking Tools Online
- Hacking Tools For Mac
- Android Hack Tools Github
- Pentest Box Tools Download
- Hacker Search Tools
- Pentest Automation Tools
- Hacking Tools For Pc
- Termux Hacking Tools 2019
- Hacking Tools
- Hak5 Tools
- Hacking Tools For Kali Linux
- Hacking Tools For Games
- Pentest Tools Port Scanner
- Hack Tools For Windows
- Pentest Tools Kali Linux
- Hack Tools Github
- Hacking Tools Pc
- Tools 4 Hack
- Pentest Tools Find Subdomains
- Hacking Tools Download
- Hacking Tools Name
- Hacker Hardware Tools
- Hacking Tools Hardware
- Top Pentest Tools
- Hacker Tools Free
- Bluetooth Hacking Tools Kali
- Pentest Tools For Windows
- Hacking Tools For Mac
- Hacking Tools For Beginners
- Hacker Hardware Tools
- Pentest Box Tools Download
- Pentest Tools Bluekeep
- Hacker Security Tools
- Kik Hack Tools
- Hacker Security Tools
- Hacker Tools For Ios
- Hack Tools
- Hacking Tools 2019
- Pentest Tools Apk
- Hacker Tools For Ios
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Online
- Physical Pentest Tools
- Hacking Tools Pc
- Pentest Box Tools Download
- Hacker Tools For Ios
- Hack Tools
- Hack Tools Pc
- Hacker Tools For Ios
- Hacking Apps
- Hack Tools Download
- Growth Hacker Tools
- Pentest Tools Windows
- Hacking Tools Kit
- Hacker Tools Online
- Hack Tools For Pc
- Hacking Tools Github
- Pentest Tools Apk
- What Are Hacking Tools
- Hack Tool Apk
- Pentest Tools Website
- World No 1 Hacker Software
- Hacking Tools For Mac
- Pentest Tools Open Source
- Tools Used For Hacking
- Hack Tools
- Free Pentest Tools For Windows
- Hack Tool Apk No Root
- Hacking Tools For Pc
- Computer Hacker
- Usb Pentest Tools
- Pentest Tools For Ubuntu
- Pentest Tools Nmap
- Pentest Tools For Android
- Hacking Tools Mac
- Underground Hacker Sites
- Hacking Tools Hardware
- Hack Website Online Tool
- Pentest Tools
- Hacker Tools For Windows
- Hackers Toolbox
- Hack Tools For Windows
- Hacker Tools Mac
- Pentest Tools For Android
- Hacking Tools 2019
- Pentest Tools Android
- Hack Tools For Games
- Growth Hacker Tools
- Pentest Recon Tools
- Growth Hacker Tools
- Free Pentest Tools For Windows
- Pentest Recon Tools
- Pentest Tools Apk
- Termux Hacking Tools 2019
- Hacking Tools Github
- Tools Used For Hacking
- Hack Tools For Pc
- Pentest Tools Nmap
- Pentest Automation Tools