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.
More articles
- Hacking Tools And Software
- Pentest Tools Website
- Pentest Tools For Windows
- Hak5 Tools
- Tools 4 Hack
- Hacking Tools Download
- Wifi Hacker Tools For Windows
- Pentest Tools Website
- Hacking Tools Hardware
- Ethical Hacker Tools
- Hack Tools Download
- Pentest Tools Nmap
- Hacker Tool Kit
- Pentest Tools
- Hack Tools 2019
- How To Install Pentest Tools In Ubuntu
- Best Hacking Tools 2019
- Pentest Recon Tools
- Pentest Tools
- Pentest Tools
- World No 1 Hacker Software
- Hak5 Tools
- Pentest Tools Apk
- Pentest Tools Framework
- Hacking Tools Mac
- Android Hack Tools Github
- Pentest Tools Windows
- Nsa Hack Tools Download
- Hacker Tools Linux
- Hacking Tools Kit
- Hack Tools For Mac
- Best Pentesting Tools 2018
- Hacker Tools Hardware
- Pentest Recon Tools
- Pentest Tools Nmap
- Hacking Tools Hardware
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Hardware
- Pentest Tools Review
- Hacker Search Tools
- Pentest Tools Url Fuzzer
- Hacker Tools Free Download
- Hacking Tools Windows 10
- Pentest Tools Open Source
- Hacking Tools Hardware
- What Is Hacking Tools
- Best Hacking Tools 2019
- Hacker Tool Kit
- What Are Hacking Tools
- Hacker Tools For Pc
- Usb Pentest Tools
- Pentest Tools Url Fuzzer
- Hacker Search Tools
- Best Hacking Tools 2019
- Pentest Tools Online
- Hacker Tools For Pc
- Pentest Tools Url Fuzzer
- Hack Tools Download
- Hacker Search Tools
- Pentest Tools
- Hacker Tools Github
- Hack Tools Online
- Pentest Recon Tools
- Hacking Tools For Pc
- Hacking Tools For Windows
- Hacking Tools Name
- Pentest Tools Website