We will discuss some of the basic commands that are frequently used in Metasploit for penetration.
First of all, open the Metasploit console at a Time. You can do this by following the path: Applications → Tools Exploitation → Metasploit.
After you open Metasploit console, you will see the following screen. Highlighted in red is the underscore version of Metasploit.
If you type help command on the console, it will display a list of the core command in Metasploit along with their descriptions.
msfupdate is important administrative commands. It is used to update the latest vulnerability exploitation with Metasploit. After running this command, you will have to wait a few minutes until the update is complete.
search is a powerful command in the Metasploit that you can use to find what you want to find. For example, if you want to look for exploits that are related to Microsoft, then the command will be-
msf >search name:Microsoft type:exploit
Here, the search is the command, name is the name of the object you are looking for, and type is the type of script you are looking for.
The info Command provides information about the modules or platforms, such as where it is used, the reference is the author, vulnerability, and the charge limitations.