So MSF has such a wide variety of different commands.
And they all have well-defined name conventions that will help you to rule the framework.
So let's have a look.
Core commands, these are the basic commands of Métis boy.
You can use them to make general-purpose as well as framework level tasks.
Module command, they're there to help you move between modules and to pass values to the variable,
you can view and use a module with these commands.
Job commands are basically used for interacting with your sessions to view the status of the jobs that
you've started.
Resource script command allow you to record and to run your own scripts, to automate your routines,
develop a command, allow you to edit the files and interact with Ruby.
Database commands are like we were talking about before, importing and exporting, as well as the connection
to a database with these commands, that's where you're going to save your findings.
And the credential commands are used when you activate database and they help you to store and get credentials
found while you're doing your penetration testing.
So I chose Somerset's so that you get the basic idea about how to use them, so why don't we go ahead
and jump in a Akali to see them in action?
Go ahead and open your terminal.
And just right MSF console.
So this time you see that I don't put the Q as a parameter because, well, I don't want to view that
banner banners are these funny things here.
You can change them every time by typing the banner command.
But believe me, that's not the actual fun part, you're going to find the real fun in later modules,
but I want to make sure that you're well versed in the basics.
So I'll choose to divide the MSF console commands into groups to show you in a more meaningful way and
make it clear so.
OK, let's start.
Color command will provide a colorful output if you enable it now, by default, it is enabled and you
may disable it for whatever reason you like.
I'm going to enable it by putting in color.
True.
Now, review view the MSF version.
Just type the version command.
All right, so this is my installation version when I was recording the course.
And then beside MSF console command, the interface allows you to execute Linnik system commands.
Now, I don't know if it's the same in Windows, but on Linux you have this flexibility.
I can change my directory and view it.
Or I can check my I.P. address.
But anyway, I think you get the point, so you still have questions about the command.
All right, so type this into the console and it will help you.
Or just put help.
And you'll see the same output and let's say this is not enough and.
You want some specific info about a particular command type help and then the command name.
So, for example, help workspace.
Or maybe help, help.
There's only so much I can do.
OK, so type help search.
And then let's have a look at the search command help output, so this command will really be helpful
to find a module.
And you're going to use it many times, it's OK, you just stick in a search term and you'll see the
results and as you can see from the help screen, you can also be more specific while you're searching.
So let's type in search name Java.
Now, that is, you see, we'll bring up many Java related modules to the screen.
That search name Java rank, excellent.
2011.
OK, so only three results, so obviously you can narrow the result by being more specific.
OK, so the next thing is gripping.
You can grip the output of this command like this.
Métis boy also records your history like bash, so it has a history file and with a history command,
you can view what you have entered in the MSF console just like that.
Here you can see some of my previous commands.
But you can also save all the output, not only to history.
So look at the spool command.
Well, type spool and then the output file name, and then it will save everything spool, desktop,
Ms.
F dot log.
So now whatever you see in MSF console will be saved to that file, so let's get this file.
And there it is, it saves everything.
Here, you might want to type S'pore star, but I'm not going to do that now.
In a penetration test, you may also configure the meds according to your needs, and you were allowed
to save your configuration by simply typing the save command and then your configuration will be saved
to that file.
Now here.
Because I'm not making any change to the default settings, you won't see anything.
If you finish your work with Métis Point, you can then quit.
By using Quitte or Vecsey command, you can close up, better deploy and exit just like that.