Okay.
Now, from the previous lecture, we saw that when we wrote, when we set our host to our IP and we
find these as open ports.
Okay.
Now what if I want to see.
What are the histories or the results of the TB scan in that we run in the previous lecture?
How to show that we will use the services.
By the way, you can see that there are no databases connected so control d to quit from this sudo.
We will take the rms f db in it.
So you can see that now we are starting a database.
All right.
Now again, let's open the MSFT console.
Now if I type services, you can see that now we have services but by the way, because we need to run.
Again, the previous thing or the previous scan.
So.
Auxiliary.
Scan up.
Both scan the ECB.
Sit.
Oh.
Host and to get it I have config.
Copy paste.
Watch it here.
Now one.
And the previous things as we saw, which is about 22 and 80 now type services.
You can see that here.
This will show us all the.
The results that we have due or we have done.
So, for example, if I sit the our host to be on something else like this and run again by the way,
because this is not a real target.
So if I run services again, nothing will be recorded here because we didn't find anything open as a
board.
Now services we have this options that edge.
This is the give us all the flags and parameters as you can see with the usage to add services instead
of searching the U, p, whatever.
All right.
Okay, cool.
Now, also, we have the hosts command.
So this is to show us what is the host being recorded.
Okay.
Now, what we find is that we have this host, which is our machine, my IP address machine.
Now we have for the services itself.
If I want to search, remember when I type it, you can see that we find spot 22 and what, 80.
So if I want to have the 22 only, like for all the hosts that recorded on board 22, I can dash p then
the port.
So this is.
The result of the 22 or S6 Edge connections.
Now again, we can have that workspace.
Command.
So by default, as you can see, we have workspace now, workspace, but test we can see that workspace
not found.
So to add or delete, we need to put that here for ADD or that's the for delete.
By the way, if you type dash edge, it will show us everything so like like this.
So workspace is the workspace there is V for mostly more verbosity to object to with more information,
there's a dash, the dash, the capital dash or dash edge show the help.
So for example, workspace dash a fist.
Now if I type dash V this time you can see that we have test and has zero host zero services vulnerability
loads notes whatever this is workspace dash fee but workspace alone this will show us just the name
of the workspace by the way, to delete it, dash the test.
So as you can see, it is deleted and it will switch to the default.
So workspace.
You can see that now it is default.
Okay, cool.
So far so good.
So a recap for what we learned.
So to start capturing.
And record everything into a database.
First, we need to run this command before we run the console.
Make sure to run this command which is as db init.
So this is to initialize a database but by using a suitable for it.
Then open the massive console after you initialize the database.
Then start running the bot, scan the modules you want, whatever, and then typing the service's command
as we learned, and the host's command and the services to see more options that does dash edge.
And here we can see that we can use the dash P to to find a specific port like when we saw previously
as we used on bot 22.
And we can use the hosts as well and we can use the workspace to have a separate workspace.
Dash E for at dash D for delete dash edge to see more options.
As you can see that we have dash V and dash D, capital and dash are for renaming.
Alright, cool.
So far so good.
Now keep that in your mind.
This will be very handy.