WEBVTT

00:00:00.000 --> 00:00:03.437 align:middle line:90%


00:00:03.437 --> 00:00:06.874 align:middle line:90%
[OPENING MUSIC]

00:00:06.874 --> 00:00:10.018 align:middle line:90%


00:00:10.018 --> 00:00:12.000 align:middle line:90%
Web server enumeration.

00:00:12.000 --> 00:00:14.640 align:middle line:84%
In this video, we are going
to be taking a look at how

00:00:14.640 --> 00:00:17.910 align:middle line:84%
to utilize various auxiliary
modules to enumerate

00:00:17.910 --> 00:00:21.640 align:middle line:84%
as much information as
possible from a web server.

00:00:21.640 --> 00:00:23.070 align:middle line:84%
So the first
question that we need

00:00:23.070 --> 00:00:25.710 align:middle line:84%
to ask ourselves is,
what is a web server?

00:00:25.710 --> 00:00:29.250 align:middle line:84%
Well simply put, a web
server is a piece of software

00:00:29.250 --> 00:00:32.040 align:middle line:84%
that is used to serve
website data on the web.

00:00:32.040 --> 00:00:34.290 align:middle line:84%
So whenever you
purchase a domain

00:00:34.290 --> 00:00:36.660 align:middle line:84%
and you, essentially,
set up your website

00:00:36.660 --> 00:00:39.360 align:middle line:84%
with a hosting
company, the directory

00:00:39.360 --> 00:00:41.640 align:middle line:84%
under which you store
your website files is then

00:00:41.640 --> 00:00:45.360 align:middle line:84%
hosted or is served by
a web server technology.

00:00:45.360 --> 00:00:47.760 align:middle line:84%
An example of a web
server is Apache.

00:00:47.760 --> 00:00:51.210 align:middle line:84%
You also have Nginx
and Microsoft IaaS just

00:00:51.210 --> 00:00:52.210 align:middle line:90%
to name a few.

00:00:52.210 --> 00:00:56.370 align:middle line:84%
Now, web servers utilize HTTP,
which stands for the hypertext

00:00:56.370 --> 00:00:59.310 align:middle line:84%
transfer protocol, as
the underlying protocol

00:00:59.310 --> 00:01:02.250 align:middle line:84%
to facilitate the communication
between clients and the web

00:01:02.250 --> 00:01:02.920 align:middle line:90%
server.

00:01:02.920 --> 00:01:05.379 align:middle line:84%
So whenever you want
to access a website,

00:01:05.379 --> 00:01:07.410 align:middle line:84%
you'll typically open
up your browser and then

00:01:07.410 --> 00:01:12.000 align:middle line:84%
type in HTTP or HTTPS
and then the domain name,

00:01:12.000 --> 00:01:13.020 align:middle line:90%
and you hit Enter.

00:01:13.020 --> 00:01:15.840 align:middle line:84%
What happens when you
hit Enter is your browser

00:01:15.840 --> 00:01:17.970 align:middle line:84%
will perform a DNS
lookup in order

00:01:17.970 --> 00:01:22.620 align:middle line:84%
to resolve that domain to
the web server IP address.

00:01:22.620 --> 00:01:27.090 align:middle line:84%
Once it gets the IP address,
it'll send an HTTP request

00:01:27.090 --> 00:01:28.510 align:middle line:90%
to the web server.

00:01:28.510 --> 00:01:31.320 align:middle line:84%
The HTTP, or rather
the web server,

00:01:31.320 --> 00:01:35.070 align:middle line:84%
will then send back an HTTP
response to the browser

00:01:35.070 --> 00:01:38.910 align:middle line:84%
and this response will typically
include or involve information

00:01:38.910 --> 00:01:42.560 align:middle line:84%
like the website data that will
then be rendered back to you,

00:01:42.560 --> 00:01:44.560 align:middle line:84%
and you'll be able to
interact with the website.

00:01:44.560 --> 00:01:48.270 align:middle line:84%
So that's how requests are
sent between you, the browser,

00:01:48.270 --> 00:01:50.050 align:middle line:90%
and the web server.

00:01:50.050 --> 00:01:53.400 align:middle line:84%
So again, you send an HTTP
request and you get a response.

00:01:53.400 --> 00:01:55.530 align:middle line:84%
And based on what
you're trying to send,

00:01:55.530 --> 00:01:58.690 align:middle line:84%
that is going to, consequently,
affect the response.

00:01:58.690 --> 00:02:01.800 align:middle line:84%
So if I hit Log In on
a website, that request

00:02:01.800 --> 00:02:03.090 align:middle line:90%
is sent to the web server.

00:02:03.090 --> 00:02:06.390 align:middle line:84%
And whether or not we provided
the correct credentials,

00:02:06.390 --> 00:02:09.190 align:middle line:84%
the web server will then
provide an appropriate response.

00:02:09.190 --> 00:02:12.160 align:middle line:84%
So if we provided the correct
credentials, for example,

00:02:12.160 --> 00:02:13.500 align:middle line:90%
we'll be able to log in.

00:02:13.500 --> 00:02:17.460 align:middle line:84%
If we don't, then the web server
will, essentially, send back

00:02:17.460 --> 00:02:21.090 align:middle line:84%
a response saying, hey, the
credentials are incorrect,

00:02:21.090 --> 00:02:23.530 align:middle line:90%
you might want to try again.

00:02:23.530 --> 00:02:26.820 align:middle line:84%
So let's talk a little bit
about the HTTP protocol.

00:02:26.820 --> 00:02:29.400 align:middle line:84%
So HTTP is an application
layer protocol

00:02:29.400 --> 00:02:33.240 align:middle line:84%
that typically utilizes
port 80 for communication.

00:02:33.240 --> 00:02:35.880 align:middle line:90%
So HTTP uses port 80.

00:02:35.880 --> 00:02:39.690 align:middle line:84%
And when you then set up an
SSL certificate for encryption,

00:02:39.690 --> 00:02:41.880 align:middle line:90%
it then uses port 443.

00:02:41.880 --> 00:02:44.040 align:middle line:84%
So irregardless
of whether or not

00:02:44.040 --> 00:02:48.030 align:middle line:84%
we're dealing with a website
with an SSL certificate,

00:02:48.030 --> 00:02:51.790 align:middle line:84%
all you need to know is that
when you're talking about HTTP,

00:02:51.790 --> 00:02:52.740 align:middle line:90%
it's port 80.

00:02:52.740 --> 00:02:55.890 align:middle line:84%
When you're talking about
HTTPS, it's port 443.

00:02:55.890 --> 00:02:58.680 align:middle line:84%
Now, we can utilize
multiple auxiliary modules

00:02:58.680 --> 00:03:02.110 align:middle line:84%
to enumerate the information
like the web server version.

00:03:02.110 --> 00:03:04.320 align:middle line:84%
So this information
will typically

00:03:04.320 --> 00:03:08.070 align:middle line:84%
be what web server is running,
the version of the web server

00:03:08.070 --> 00:03:09.630 align:middle line:90%
that's running, et cetera.

00:03:09.630 --> 00:03:12.690 align:middle line:84%
We can also obtain
additional information

00:03:12.690 --> 00:03:16.050 align:middle line:84%
like the HTTP headers,
and that information

00:03:16.050 --> 00:03:17.640 align:middle line:90%
can be used to inde--

00:03:17.640 --> 00:03:21.300 align:middle line:84%
furthermore identify what
web server technology

00:03:21.300 --> 00:03:25.110 align:middle line:84%
is being used, what
extensions, or what

00:03:25.110 --> 00:03:27.210 align:middle line:84%
programming language
or stack is being used

00:03:27.210 --> 00:03:28.860 align:middle line:90%
on the web server, et cetera.

00:03:28.860 --> 00:03:31.290 align:middle line:84%
We can also perform
additional functionality

00:03:31.290 --> 00:03:34.830 align:middle line:84%
like the ability to perform
directory and file brute

00:03:34.830 --> 00:03:38.460 align:middle line:84%
forcing in order to identify
hidden files that you may not

00:03:38.460 --> 00:03:40.170 align:middle line:84%
be able to find if
you were just browsing

00:03:40.170 --> 00:03:42.030 align:middle line:84%
the website through
your browser.

00:03:42.030 --> 00:03:44.160 align:middle line:84%
So we'll take a look at
how to do all of this

00:03:44.160 --> 00:03:46.240 align:middle line:84%
as we move into the
practical section.

00:03:46.240 --> 00:03:50.730 align:middle line:84%
And again, all we need to do is
just set up the lab environment

00:03:50.730 --> 00:03:52.300 align:middle line:90%
and get started.

00:03:52.300 --> 00:03:55.960 align:middle line:84%
So I'll see you within
the lab environment.

00:03:55.960 --> 00:03:58.640 align:middle line:84%
All right, I am back
within the lab environment.

00:03:58.640 --> 00:04:00.490 align:middle line:84%
And the first
thing we need to do

00:04:00.490 --> 00:04:04.240 align:middle line:84%
is, of course, identify the
target IP address, which

00:04:04.240 --> 00:04:06.640 align:middle line:90%
we can by saying ifconfig.

00:04:06.640 --> 00:04:09.310 align:middle line:84%
So we just hit Enter, and the
interface we're looking for

00:04:09.310 --> 00:04:10.180 align:middle line:90%
is ethernet1.

00:04:10.180 --> 00:04:12.740 align:middle line:90%
And this is our IP address.

00:04:12.740 --> 00:04:18.399 align:middle line:84%
So 192.140.160.2, which means
the target IP address is going

00:04:18.399 --> 00:04:21.970 align:middle line:90%
to be 192.140.160.3.

00:04:21.970 --> 00:04:24.640 align:middle line:84%
And in your case, this will,
of course, be different.

00:04:24.640 --> 00:04:27.400 align:middle line:84%
All you need to do is just
change the two to a three,

00:04:27.400 --> 00:04:28.693 align:middle line:90%
and that is the target IP.

00:04:28.693 --> 00:04:30.610 align:middle line:84%
So I'm just going to
copy this because we will

00:04:30.610 --> 00:04:32.590 align:middle line:90%
need this in a few seconds.

00:04:32.590 --> 00:04:34.310 align:middle line:84%
The next thing we
want to do, of course,

00:04:34.310 --> 00:04:37.540 align:middle line:84%
is ensure that the PostgreSQL
database server is started.

00:04:37.540 --> 00:04:39.800 align:middle line:84%
And we can do that by
starting up this service.

00:04:39.800 --> 00:04:41.830 align:middle line:84%
So I'm going to say
service postgresql.

00:04:41.830 --> 00:04:46.430 align:middle line:90%


00:04:46.430 --> 00:04:49.040 align:middle line:84%
We hit Enter, that's going to
start the PostgreSQL database

00:04:49.040 --> 00:04:49.650 align:middle line:90%
server.

00:04:49.650 --> 00:04:52.100 align:middle line:84%
We can then launch the
Metasploit framework console.

00:04:52.100 --> 00:04:57.560 align:middle line:90%


00:04:57.560 --> 00:04:59.330 align:middle line:84%
All right, the next
thing we need to do

00:04:59.330 --> 00:05:01.390 align:middle line:84%
is, of course, set
up a workspace.

00:05:01.390 --> 00:05:04.520 align:middle line:84%
So I'm going to say
workspace, and we'll say add

00:05:04.520 --> 00:05:08.210 align:middle line:84%
and we'll just call this
a web_enum, because we

00:05:08.210 --> 00:05:09.620 align:middle line:90%
are doing web enumeration.

00:05:09.620 --> 00:05:11.760 align:middle line:84%
So I'm just going to hit
Enter, and there we are.

00:05:11.760 --> 00:05:14.240 align:middle line:84%
We have created the workspace,
and it's currently active.

00:05:14.240 --> 00:05:16.050 align:middle line:90%
And we can finally get started.

00:05:16.050 --> 00:05:18.650 align:middle line:84%
So again, the
first thing that we

00:05:18.650 --> 00:05:20.120 align:middle line:84%
want to do before
we actually start

00:05:20.120 --> 00:05:21.830 align:middle line:84%
playing with any
of the modules is

00:05:21.830 --> 00:05:24.600 align:middle line:84%
we need to set up a
few global variables

00:05:24.600 --> 00:05:27.980 align:middle line:84%
so that we don't need to
keep retrieving and obtaining

00:05:27.980 --> 00:05:30.477 align:middle line:84%
the target IP address and
setting it over again.

00:05:30.477 --> 00:05:32.060 align:middle line:84%
So in order to do
this, I'm just going

00:05:32.060 --> 00:05:36.050 align:middle line:84%
to say set G. So set global,
and we'll set the R host value

00:05:36.050 --> 00:05:37.100 align:middle line:90%
to the target IP.

00:05:37.100 --> 00:05:39.660 align:middle line:84%
So I'm just going to paste in
the IP we copied and of course,

00:05:39.660 --> 00:05:41.600 align:middle line:90%
change the two into a three.

00:05:41.600 --> 00:05:45.660 align:middle line:84%
Hit Enter, and we'll also do
this for the RHOST variable.

00:05:45.660 --> 00:05:48.530 align:middle line:84%
So we are doing it for
both RHOSTS and RHOST.

00:05:48.530 --> 00:05:51.110 align:middle line:84%
We hit Enter and
that should, again,

00:05:51.110 --> 00:05:54.320 align:middle line:84%
save us from having to
type in the IP address

00:05:54.320 --> 00:05:55.850 align:middle line:90%
every time we use a module.

00:05:55.850 --> 00:05:58.260 align:middle line:90%
So that's very, very helpful.

00:05:58.260 --> 00:06:00.950 align:middle line:84%
So we can now begin
searching for HTTP modules,

00:06:00.950 --> 00:06:02.870 align:middle line:84%
because that's the
protocol that we are

00:06:02.870 --> 00:06:04.610 align:middle line:90%
going to be communicating with.

00:06:04.610 --> 00:06:07.550 align:middle line:84%
And we can just
hit a search HTTP.

00:06:07.550 --> 00:06:11.420 align:middle line:84%
And as you can see, we have
quite a few modules here.

00:06:11.420 --> 00:06:13.365 align:middle line:84%
And of course, we need
to narrow this down.

00:06:13.365 --> 00:06:14.990 align:middle line:84%
So I'm going to say
search, and then we

00:06:14.990 --> 00:06:18.050 align:middle line:84%
can specify the type, which
in this case is auxiliary,

00:06:18.050 --> 00:06:21.020 align:middle line:84%
and then the name,
which we know is HTTP.

00:06:21.020 --> 00:06:25.040 align:middle line:84%
Hit Enter, and now that
is limited to about 77.

00:06:25.040 --> 00:06:27.440 align:middle line:84%
And the one that we
want to start out with

00:06:27.440 --> 00:06:31.310 align:middle line:84%
is going to be the HTTP
version module right over here.

00:06:31.310 --> 00:06:34.550 align:middle line:84%
And this module will
essentially enumerate

00:06:34.550 --> 00:06:38.000 align:middle line:84%
or will print out the
version of the web server

00:06:38.000 --> 00:06:40.820 align:middle line:84%
that is running on the target
system, as you can see.

00:06:40.820 --> 00:06:43.500 align:middle line:84%
HTTP version detection,
that's what it does.

00:06:43.500 --> 00:06:46.310 align:middle line:84%
So again, I'm just
going to copy that

00:06:46.310 --> 00:06:49.490 align:middle line:84%
and we can then say use, and
then paste that in there.

00:06:49.490 --> 00:06:52.580 align:middle line:84%
And we can then clear out the
terminal and say show options.

00:06:52.580 --> 00:06:57.108 align:middle line:90%


00:06:57.108 --> 00:06:57.650 align:middle line:90%
There we are.

00:06:57.650 --> 00:07:01.670 align:middle line:84%
And the options, as you can see
in regards to RHOST variable,

00:07:01.670 --> 00:07:02.570 align:middle line:90%
have been set.

00:07:02.570 --> 00:07:05.430 align:middle line:84%
The RPORT variable
is set to port 80.

00:07:05.430 --> 00:07:07.850 align:middle line:84%
So we are currently dealing
with a web server that doesn't

00:07:07.850 --> 00:07:09.313 align:middle line:90%
have an SSL certificate.

00:07:09.313 --> 00:07:10.730 align:middle line:84%
So the R-- we don't
need to change

00:07:10.730 --> 00:07:13.010 align:middle line:90%
the value of RPORTS to 443.

00:07:13.010 --> 00:07:14.420 align:middle line:84%
And of course, if
you are dealing

00:07:14.420 --> 00:07:16.620 align:middle line:84%
with a website with
an SSL certificate,

00:07:16.620 --> 00:07:20.490 align:middle line:84%
then you also want to change
the SSL option here to true.

00:07:20.490 --> 00:07:22.850 align:middle line:84%
So whenever you're dealing
with a Boolean setting,

00:07:22.850 --> 00:07:25.820 align:middle line:84%
all you need to do is
say Set, and then SSL.

00:07:25.820 --> 00:07:27.740 align:middle line:84%
And then you want to
set that to a default,

00:07:27.740 --> 00:07:31.490 align:middle line:84%
so true if you're dealing
with a website within an SSL

00:07:31.490 --> 00:07:32.000 align:middle line:90%
certificate.

00:07:32.000 --> 00:07:34.280 align:middle line:84%
All you need to do
is just type in true,

00:07:34.280 --> 00:07:35.910 align:middle line:90%
and that will be enabled.

00:07:35.910 --> 00:07:38.360 align:middle line:84%
However, in our case,
we don't have a website

00:07:38.360 --> 00:07:39.720 align:middle line:90%
with an SSL certificate.

00:07:39.720 --> 00:07:41.220 align:middle line:90%
So we have everything ready.

00:07:41.220 --> 00:07:44.510 align:middle line:90%
So I'm just going to hit Run.

00:07:44.510 --> 00:07:46.900 align:middle line:84%
And as you can see, it
enumerates the web server

00:07:46.900 --> 00:07:50.330 align:middle line:84%
version running on the target
as well as the operating system.

00:07:50.330 --> 00:07:52.480 align:middle line:84%
So we can see that
the target is running

00:07:52.480 --> 00:07:55.550 align:middle line:90%
Apache 2.4.18, which is great.

00:07:55.550 --> 00:07:57.770 align:middle line:84%
That gives us an idea of
what we're dealing with.

00:07:57.770 --> 00:08:01.210 align:middle line:84%
And we also know where or
on what operating system

00:08:01.210 --> 00:08:03.100 align:middle line:84%
this web server is
being hosted on.

00:08:03.100 --> 00:08:05.720 align:middle line:84%
And in this case, you can see
it's a Linux distribution.

00:08:05.720 --> 00:08:07.690 align:middle line:90%
And in this case, it's ubu--

00:08:07.690 --> 00:08:10.430 align:middle line:90%
in this case, it is Ubuntu.

00:08:10.430 --> 00:08:13.100 align:middle line:84%
So now that I've enumerated
that information,

00:08:13.100 --> 00:08:17.090 align:middle line:84%
we can also perform some
additional enumeration

00:08:17.090 --> 00:08:19.400 align:middle line:90%
in regards to the HTTP headers.

00:08:19.400 --> 00:08:22.490 align:middle line:84%
And that will also give us an
idea of the web server version,

00:08:22.490 --> 00:08:25.310 align:middle line:84%
as well as some
additional information.

00:08:25.310 --> 00:08:26.960 align:middle line:84%
And of course, this
will all depend

00:08:26.960 --> 00:08:29.240 align:middle line:84%
on how the web server
has been configured.

00:08:29.240 --> 00:08:32.450 align:middle line:84%
If it has been misconfigured
to leak information

00:08:32.450 --> 00:08:34.820 align:middle line:84%
pertinent to the web
server configuration,

00:08:34.820 --> 00:08:38.100 align:middle line:84%
then we will get quite a
lot of useful information.

00:08:38.100 --> 00:08:41.270 align:middle line:84%
So we are going to search for
the module and it's just--

00:08:41.270 --> 00:08:46.370 align:middle line:84%
the module name is simply
called HTTP header.

00:08:46.370 --> 00:08:47.210 align:middle line:90%
Let me hit Enter.

00:08:47.210 --> 00:08:50.000 align:middle line:84%
And this is the module here,
auxiliary scanner HTTP,

00:08:50.000 --> 00:08:53.300 align:middle line:90%
HTTP header.

00:08:53.300 --> 00:08:56.550 align:middle line:90%
And we're going to say use.

00:08:56.550 --> 00:08:57.820 align:middle line:90%
And we can clear that out.

00:08:57.820 --> 00:09:00.590 align:middle line:84%
So we're going to
say show options.

00:09:00.590 --> 00:09:03.220 align:middle line:84%
And now, we need to
configure this module.

00:09:03.220 --> 00:09:07.150 align:middle line:84%
By default, we only need to work
or set the required options.

00:09:07.150 --> 00:09:09.940 align:middle line:84%
As you can see here, starting
off with the HTTP method,

00:09:09.940 --> 00:09:12.430 align:middle line:84%
this simply refers
to the HTTP method

00:09:12.430 --> 00:09:15.580 align:middle line:84%
that you're using to
again get the HTTP headers

00:09:15.580 --> 00:09:17.380 align:middle line:90%
from the target's web server.

00:09:17.380 --> 00:09:20.370 align:middle line:84%
In this case, as you can see,
we can either use HEAD or GET.

00:09:20.370 --> 00:09:22.120 align:middle line:84%
In this case, we're
just going to leave it

00:09:22.120 --> 00:09:25.250 align:middle line:84%
with HEAD because that is
appropriate in this case.

00:09:25.250 --> 00:09:27.130 align:middle line:84%
As for the IGN
header, again, you

00:09:27.130 --> 00:09:31.330 align:middle line:84%
can specify a list of headers to
ignore separated by the comma.

00:09:31.330 --> 00:09:35.680 align:middle line:84%
So you can unset this to get all
the information like the date

00:09:35.680 --> 00:09:38.740 align:middle line:84%
content, length
connection, e-tag, when

00:09:38.740 --> 00:09:40.930 align:middle line:90%
the cache expires, et cetera.

00:09:40.930 --> 00:09:42.670 align:middle line:90%
You can also specify a proxy.

00:09:42.670 --> 00:09:45.580 align:middle line:84%
The RHOST option has been
set to the target IP.

00:09:45.580 --> 00:09:48.880 align:middle line:84%
Of course, we're not dealing
with a web server with an SSL

00:09:48.880 --> 00:09:49.750 align:middle line:90%
certificate.

00:09:49.750 --> 00:09:52.960 align:middle line:84%
And finally, we can
specify the target URI,

00:09:52.960 --> 00:09:55.660 align:middle line:84%
which simply refers to
any specific directory

00:09:55.660 --> 00:09:57.250 align:middle line:84%
within the web
server that we want

00:09:57.250 --> 00:09:59.620 align:middle line:90%
to get the HTTP headers off.

00:09:59.620 --> 00:10:01.210 align:middle line:84%
And in this case,
we are targeting

00:10:01.210 --> 00:10:02.690 align:middle line:90%
the root of the web server.

00:10:02.690 --> 00:10:04.210 align:middle line:84%
So we're going to
leave it as is.

00:10:04.210 --> 00:10:06.520 align:middle line:84%
And once we're ready to
go, just type in Run.

00:10:06.520 --> 00:10:12.050 align:middle line:90%


00:10:12.050 --> 00:10:14.690 align:middle line:84%
And as you can see here, it
gives us the content type,

00:10:14.690 --> 00:10:16.360 align:middle line:90%
which tells us it's text HTML.

00:10:16.360 --> 00:10:18.880 align:middle line:84%
So that pretty much
gives us an indication

00:10:18.880 --> 00:10:20.620 align:middle line:84%
of what programming
language has been

00:10:20.620 --> 00:10:25.480 align:middle line:84%
used to develop the website
that is being hosted on this web

00:10:25.480 --> 00:10:27.430 align:middle line:90%
server with a few exceptions.

00:10:27.430 --> 00:10:29.470 align:middle line:84%
And in this case,
it's text HTML,

00:10:29.470 --> 00:10:32.020 align:middle line:84%
when it was last modified,
and then the server

00:10:32.020 --> 00:10:33.350 align:middle line:90%
is printed out here.

00:10:33.350 --> 00:10:34.930 align:middle line:84%
So that's similar
information to what

00:10:34.930 --> 00:10:39.310 align:middle line:84%
we got when we, essentially,
printed out the HTTP version

00:10:39.310 --> 00:10:41.420 align:middle line:90%
using the HTTP version module.

00:10:41.420 --> 00:10:44.170 align:middle line:84%
So again, we really not got
any additional information

00:10:44.170 --> 00:10:45.040 align:middle line:90%
that's useful.

00:10:45.040 --> 00:10:48.850 align:middle line:84%
As I said, you can modify the
IGN header or the ignore header

00:10:48.850 --> 00:10:52.870 align:middle line:84%
setting here, to, again,
essentially display or exclude

00:10:52.870 --> 00:10:55.150 align:middle line:90%
specific HTTP headers.

00:10:55.150 --> 00:10:58.360 align:middle line:84%
So again, you can go through
that description there.

00:10:58.360 --> 00:11:00.790 align:middle line:84%
So now, we've been able to
enumerate the web server

00:11:00.790 --> 00:11:03.190 align:middle line:84%
version that's running
on the target system.

00:11:03.190 --> 00:11:05.590 align:middle line:84%
Let's perform some
additional enumeration

00:11:05.590 --> 00:11:07.750 align:middle line:84%
in regards to a few
hidden directories

00:11:07.750 --> 00:11:09.820 align:middle line:90%
that we may not have access to.

00:11:09.820 --> 00:11:11.410 align:middle line:84%
And the way we're
going to do this

00:11:11.410 --> 00:11:15.070 align:middle line:84%
is by downloading and
analyzing the robots.txt file.

00:11:15.070 --> 00:11:17.200 align:middle line:84%
Now, if you're not familiar
with how the web works

00:11:17.200 --> 00:11:20.800 align:middle line:84%
and how websites are
configured, the robots.txt file

00:11:20.800 --> 00:11:24.010 align:middle line:84%
is a TXT file that stored
at the root of a web server

00:11:24.010 --> 00:11:27.280 align:middle line:84%
and is used to prevent
search engines from indexing

00:11:27.280 --> 00:11:29.710 align:middle line:84%
specific directories
and files that

00:11:29.710 --> 00:11:31.340 align:middle line:90%
are hosted on that web server.

00:11:31.340 --> 00:11:33.280 align:middle line:84%
So for example,
if I had a website

00:11:33.280 --> 00:11:37.390 align:middle line:84%
and I wanted to prevent Google
and any other search engines

00:11:37.390 --> 00:11:40.450 align:middle line:84%
from indexing a specific
directory within that web

00:11:40.450 --> 00:11:42.760 align:middle line:84%
server or within my
website, I would add it

00:11:42.760 --> 00:11:44.510 align:middle line:90%
to the robots.txt file.

00:11:44.510 --> 00:11:47.090 align:middle line:84%
So you might be asking yourself,
well, why is this important?

00:11:47.090 --> 00:11:50.860 align:middle line:84%
Well, this is important because
the developers of website

00:11:50.860 --> 00:11:52.450 align:middle line:84%
may add directories
there that they

00:11:52.450 --> 00:11:54.910 align:middle line:84%
don't want anyone else
to find or they don't

00:11:54.910 --> 00:11:56.440 align:middle line:90%
want search engines to index.

00:11:56.440 --> 00:11:58.930 align:middle line:84%
So they could be potentially
interesting, all right?

00:11:58.930 --> 00:12:01.060 align:middle line:84%
So again, this is a
very important piece

00:12:01.060 --> 00:12:02.860 align:middle line:90%
of web server enumeration.

00:12:02.860 --> 00:12:06.430 align:middle line:84%
And in order to use the module,
we need to search for it first.

00:12:06.430 --> 00:12:11.230 align:middle line:84%
And the name of the
module is robots_txt.

00:12:11.230 --> 00:12:13.720 align:middle line:84%
We hit Enter, and as you can
see, that's the only module.

00:12:13.720 --> 00:12:16.430 align:middle line:84%
So we're going to
copy it and we're

00:12:16.430 --> 00:12:18.320 align:middle line:84%
going to say use and
paste the name there.

00:12:18.320 --> 00:12:19.950 align:middle line:90%
And that is currently active.

00:12:19.950 --> 00:12:21.890 align:middle line:84%
If I show the
options now, you can

00:12:21.890 --> 00:12:24.440 align:middle line:84%
see that we the first option
we can set is the path.

00:12:24.440 --> 00:12:27.890 align:middle line:84%
And this is simply referring
to the path on the web server

00:12:27.890 --> 00:12:32.090 align:middle line:84%
that you want to essentially
find the robots.txt file.

00:12:32.090 --> 00:12:34.490 align:middle line:84%
As I said, the robots.txt
file is typically

00:12:34.490 --> 00:12:36.180 align:middle line:84%
stored at the root
of the web server.

00:12:36.180 --> 00:12:38.120 align:middle line:90%
So we don't need to change that.

00:12:38.120 --> 00:12:41.060 align:middle line:84%
They RHOST option has been
set, RPORT has been configured.

00:12:41.060 --> 00:12:44.130 align:middle line:84%
We don't have a web server
that has an SSL certificate,

00:12:44.130 --> 00:12:45.470 align:middle line:90%
so that is set to false.

00:12:45.470 --> 00:12:48.710 align:middle line:84%
And we're not dealing with
an HTTP server virtual host.

00:12:48.710 --> 00:12:50.390 align:middle line:84%
If you are doing
that, or if you are

00:12:50.390 --> 00:12:52.550 align:middle line:84%
dealing with an
HTTP virtual host,

00:12:52.550 --> 00:12:54.590 align:middle line:90%
then you can change this value.

00:12:54.590 --> 00:12:56.907 align:middle line:84%
And again, modify
the current setting.

00:12:56.907 --> 00:12:58.740 align:middle line:84%
However, in this case,
we're not doing that.

00:12:58.740 --> 00:13:00.000 align:middle line:90%
So I'm going to hit Run.

00:13:00.000 --> 00:13:03.420 align:middle line:84%
And as you can see, it
finds the robots.txt file.

00:13:03.420 --> 00:13:06.770 align:middle line:84%
And it says, right over
here, contents of robots.txt.

00:13:06.770 --> 00:13:09.360 align:middle line:84%
And we get the disallowed
directories here.

00:13:09.360 --> 00:13:11.510 align:middle line:84%
So we can see that the
developer of this website,

00:13:11.510 --> 00:13:13.850 align:middle line:84%
for some reason,
didn't want anyone

00:13:13.850 --> 00:13:16.190 align:middle line:84%
to access the data
directory as well

00:13:16.190 --> 00:13:18.080 align:middle line:90%
as a directory called secure.

00:13:18.080 --> 00:13:21.110 align:middle line:84%
All right, so you can see
that's some very interesting

00:13:21.110 --> 00:13:25.610 align:middle line:84%
information and some potentially
damning information in terms

00:13:25.610 --> 00:13:26.450 align:middle line:90%
of exploitation.

00:13:26.450 --> 00:13:30.020 align:middle line:84%
Because again, as you can
see, one of the directories

00:13:30.020 --> 00:13:30.960 align:middle line:90%
here is called data.

00:13:30.960 --> 00:13:33.410 align:middle line:84%
So that could potentially
be used to store data.

00:13:33.410 --> 00:13:35.090 align:middle line:84%
And then the secure
directory, we

00:13:35.090 --> 00:13:36.920 align:middle line:84%
are not really sure
what that is for.

00:13:36.920 --> 00:13:38.880 align:middle line:90%
And let's actually find out.

00:13:38.880 --> 00:13:40.710 align:middle line:90%
So we can use the curk utility.

00:13:40.710 --> 00:13:43.670 align:middle line:84%
So I'm going to say curl, and
I'll just copy the IP address

00:13:43.670 --> 00:13:45.140 align:middle line:90%
here of the target web server.

00:13:45.140 --> 00:13:47.330 align:middle line:90%
And we'll say curl HTTP.

00:13:47.330 --> 00:13:48.830 align:middle line:90%
And let's base that in there.

00:13:48.830 --> 00:13:51.390 align:middle line:84%
And let's see what's
within the data directory.

00:13:51.390 --> 00:13:54.680 align:middle line:84%
So what we're doing is we're
essentially pulling down

00:13:54.680 --> 00:13:58.100 align:middle line:84%
the actual index of that
particular directory

00:13:58.100 --> 00:14:01.790 align:middle line:84%
to see what's going on there,
what this particular directory

00:14:01.790 --> 00:14:03.560 align:middle line:90%
does or what it is used for.

00:14:03.560 --> 00:14:04.520 align:middle line:90%
So I hit Enter.

00:14:04.520 --> 00:14:07.020 align:middle line:84%
And as you can see, it
downloads the HTML file.

00:14:07.020 --> 00:14:11.180 align:middle line:84%
And it says-- it essentially
tells us that this is an index.

00:14:11.180 --> 00:14:16.040 align:middle line:84%
So what this means is that this
directory has directory listing

00:14:16.040 --> 00:14:16.920 align:middle line:90%
enabled.

00:14:16.920 --> 00:14:19.460 align:middle line:84%
Now, directory listing
is a configuration

00:14:19.460 --> 00:14:24.560 align:middle line:84%
that is native to Apache as
well as a few other web servers.

00:14:24.560 --> 00:14:26.210 align:middle line:84%
And what that means
is it essentially

00:14:26.210 --> 00:14:29.090 align:middle line:84%
allows you to store
files within a directory.

00:14:29.090 --> 00:14:33.080 align:middle line:84%
And they can be indexed and
accessed within that directory.

00:14:33.080 --> 00:14:35.300 align:middle line:84%
So you can actually just
have a list of files.

00:14:35.300 --> 00:14:37.520 align:middle line:84%
And directory
listing is typically

00:14:37.520 --> 00:14:38.970 align:middle line:90%
used for download pages.

00:14:38.970 --> 00:14:41.750 align:middle line:84%
So if you ever want to
host files for download

00:14:41.750 --> 00:14:44.570 align:middle line:84%
to the public, you typically
have them in a directory,

00:14:44.570 --> 00:14:46.620 align:middle line:84%
and then enable
directory listing.

00:14:46.620 --> 00:14:49.280 align:middle line:84%
So we know that directory
listing is enabled for the data

00:14:49.280 --> 00:14:51.030 align:middle line:90%
folder, which is interesting.

00:14:51.030 --> 00:14:54.600 align:middle line:84%
Let's do that to the
secured directory.

00:14:54.600 --> 00:14:58.320 align:middle line:84%
Let's see what is actually
stored within this directory.

00:14:58.320 --> 00:15:02.110 align:middle line:84%
So we hit Enter, and we can
see we get a 401 response code,

00:15:02.110 --> 00:15:03.227 align:middle line:90%
unauthorized.

00:15:03.227 --> 00:15:05.060 align:middle line:84%
And that tells us that
this server could not

00:15:05.060 --> 00:15:07.190 align:middle line:84%
verify that you are
authorized to access

00:15:07.190 --> 00:15:08.690 align:middle line:90%
the document requested.

00:15:08.690 --> 00:15:11.660 align:middle line:84%
Either you supplied the wrong
credentials, for example,

00:15:11.660 --> 00:15:13.910 align:middle line:84%
a bad password, or
your browser doesn't

00:15:13.910 --> 00:15:16.460 align:middle line:84%
understand how to supply
the credentials required.

00:15:16.460 --> 00:15:20.280 align:middle line:84%
And we get the web server
banner right over here.

00:15:20.280 --> 00:15:23.060 align:middle line:84%
Now, what this means is that
this particular directory

00:15:23.060 --> 00:15:25.800 align:middle line:84%
is protected by an
authentication form.

00:15:25.800 --> 00:15:30.290 align:middle line:84%
So if I were to access this
directory within my browser,

00:15:30.290 --> 00:15:33.740 align:middle line:84%
it would actually prompt me to
Enter a username and a password

00:15:33.740 --> 00:15:36.210 align:middle line:84%
in order to gain access
to this directory.

00:15:36.210 --> 00:15:37.760 align:middle line:84%
Now, within the
lab environment, we

00:15:37.760 --> 00:15:40.830 align:middle line:84%
don't have access
to a web browser.

00:15:40.830 --> 00:15:43.310 align:middle line:84%
But what we can do is we
can actually try and perform

00:15:43.310 --> 00:15:45.680 align:middle line:84%
a brute force on this
particular directory

00:15:45.680 --> 00:15:48.590 align:middle line:84%
to try and identify
the credentials that

00:15:48.590 --> 00:15:51.060 align:middle line:84%
can give us access to
this secure directory.

00:15:51.060 --> 00:15:52.980 align:middle line:84%
So we'll come back
to that in a second.

00:15:52.980 --> 00:15:55.970 align:middle line:84%
So we've established quite
a bit of information,

00:15:55.970 --> 00:15:58.250 align:middle line:84%
or we have essentially
been able to enumerate

00:15:58.250 --> 00:16:01.310 align:middle line:84%
quite a bit of information
regarding the target web server

00:16:01.310 --> 00:16:02.970 align:middle line:90%
and how it's been configured.

00:16:02.970 --> 00:16:04.580 align:middle line:84%
And as you've
already seen, we've

00:16:04.580 --> 00:16:07.010 align:middle line:84%
been able to identify
a secure directory

00:16:07.010 --> 00:16:09.440 align:middle line:84%
that we can target
in a few seconds.

00:16:09.440 --> 00:16:12.740 align:middle line:84%
Before we do that, let's be
thorough with our directory

00:16:12.740 --> 00:16:13.400 align:middle line:90%
search.

00:16:13.400 --> 00:16:16.100 align:middle line:84%
And in order to do that, we're
going to perform a directory

00:16:16.100 --> 00:16:17.180 align:middle line:90%
brute force.

00:16:17.180 --> 00:16:21.050 align:middle line:84%
Now as I said, a directory brute
force is essentially a method

00:16:21.050 --> 00:16:26.900 align:middle line:84%
of performing a brute force on
a web server with the objective

00:16:26.900 --> 00:16:30.800 align:middle line:84%
of finding hidden directories
that may not be accessed,

00:16:30.800 --> 00:16:32.960 align:middle line:84%
or that cannot be
accessed, typically.

00:16:32.960 --> 00:16:35.150 align:middle line:84%
So it's a very useful
way of finding out

00:16:35.150 --> 00:16:37.640 align:middle line:84%
what else is being
hosted or what else is

00:16:37.640 --> 00:16:39.420 align:middle line:90%
being stored on the web server.

00:16:39.420 --> 00:16:42.020 align:middle line:84%
So in order to do this, we're
going to search for the module.

00:16:42.020 --> 00:16:44.600 align:middle line:84%
And the name of the module
is directory scanner.

00:16:44.600 --> 00:16:48.942 align:middle line:84%
So directory_scanner,
and that's the one there.

00:16:48.942 --> 00:16:50.400 align:middle line:84%
So I'm going to
say copy, and we're

00:16:50.400 --> 00:16:52.530 align:middle line:84%
going to say use and
paste that in there.

00:16:52.530 --> 00:16:54.420 align:middle line:90%
There we are.

00:16:54.420 --> 00:16:55.750 align:middle line:90%
Show options.

00:16:55.750 --> 00:16:58.960 align:middle line:84%
And you can see that the first
option is the dictionary file.

00:16:58.960 --> 00:17:01.080 align:middle line:84%
So that's the brute
force dictionary

00:17:01.080 --> 00:17:02.550 align:middle line:90%
file that's going to be used.

00:17:02.550 --> 00:17:05.910 align:middle line:84%
And this file, essentially,
contains a list of directories

00:17:05.910 --> 00:17:08.430 align:middle line:84%
that this module will
perform the brute force with.

00:17:08.430 --> 00:17:12.359 align:middle line:84%
So it will go through each
line within this text file.

00:17:12.359 --> 00:17:16.380 align:middle line:84%
And if we get a match, it'll
actually be output here

00:17:16.380 --> 00:17:19.270 align:middle line:84%
and it'll tell us, hey, we've
got a match for this directory.

00:17:19.270 --> 00:17:22.230 align:middle line:84%
So that directory probably
exists on the web server.

00:17:22.230 --> 00:17:23.839 align:middle line:90%
We can then provide the path.

00:17:23.839 --> 00:17:25.680 align:middle line:84%
So again, based
on what directory

00:17:25.680 --> 00:17:27.250 align:middle line:84%
you want to target
on the web server.

00:17:27.250 --> 00:17:30.210 align:middle line:84%
So for example, if we wanted
to perform a directory

00:17:30.210 --> 00:17:32.280 align:middle line:84%
brute force on
this secure folder,

00:17:32.280 --> 00:17:34.570 align:middle line:84%
then we could
specify secure here.

00:17:34.570 --> 00:17:37.030 align:middle line:84%
Or maybe the data folder,
we can also do that.

00:17:37.030 --> 00:17:40.020 align:middle line:84%
But for now, let's just leave it
at the root of the web server.

00:17:40.020 --> 00:17:42.570 align:middle line:84%
The target IP has been
set, target port is set.

00:17:42.570 --> 00:17:44.290 align:middle line:84%
We don't have an
SSL certificate,

00:17:44.290 --> 00:17:47.015 align:middle line:84%
so the only thing left
to do is just hit Run.

00:17:47.015 --> 00:17:49.390 align:middle line:84%
All right, so it's going to
say detecting the error code.

00:17:49.390 --> 00:17:52.300 align:middle line:84%
It's going to use the
error code 404 not found,

00:17:52.300 --> 00:17:55.180 align:middle line:84%
and as you can see, it's
already begun finding

00:17:55.180 --> 00:17:56.570 align:middle line:90%
various directories here.

00:17:56.570 --> 00:17:59.520 align:middle line:84%
So we're going to give
that a few seconds.

00:17:59.520 --> 00:18:02.060 align:middle line:84%
All right so the module
has completed running.

00:18:02.060 --> 00:18:04.430 align:middle line:84%
As you can see, it's found
quite a few directories

00:18:04.430 --> 00:18:06.620 align:middle line:90%
on the web server.

00:18:06.620 --> 00:18:09.380 align:middle line:84%
And some of them we were
able to find with this module

00:18:09.380 --> 00:18:12.240 align:middle line:84%
if we had not analyze
the robots.txt file.

00:18:12.240 --> 00:18:15.770 align:middle line:84%
So for example, we can see the
secure directory as well as

00:18:15.770 --> 00:18:17.000 align:middle line:90%
the data directory.

00:18:17.000 --> 00:18:19.430 align:middle line:84%
It looks like we also
have a downloads directory

00:18:19.430 --> 00:18:21.190 align:middle line:84%
and a few other
directories here.

00:18:21.190 --> 00:18:23.990 align:middle line:84%
So if you're performing
a real penetration test,

00:18:23.990 --> 00:18:26.180 align:middle line:84%
then I would recommend,
again, testing out

00:18:26.180 --> 00:18:28.520 align:middle line:84%
all of these URLs
within a browser

00:18:28.520 --> 00:18:30.878 align:middle line:84%
so that you can confirm
whether they exist.

00:18:30.878 --> 00:18:32.420 align:middle line:84%
And then, of course,
it also gives us

00:18:32.420 --> 00:18:35.720 align:middle line:84%
an additional information
regarding the directories

00:18:35.720 --> 00:18:38.390 align:middle line:84%
and whether or not they
require authentication

00:18:38.390 --> 00:18:39.780 align:middle line:90%
in order to be accessed.

00:18:39.780 --> 00:18:42.020 align:middle line:84%
So for example, in
the WebDAV directory,

00:18:42.020 --> 00:18:44.060 align:middle line:84%
you can see that it
requires a WebDAV

00:18:44.060 --> 00:18:47.330 align:middle line:84%
authentication, and the
sam for web mail and webdb.

00:18:47.330 --> 00:18:49.730 align:middle line:84%
So again, that gives
us an idea of what

00:18:49.730 --> 00:18:52.050 align:middle line:90%
this web server is hosting.

00:18:52.050 --> 00:18:55.010 align:middle line:84%
So again, we can always
use Curl to analyze

00:18:55.010 --> 00:18:56.930 align:middle line:84%
the contents of
these directories

00:18:56.930 --> 00:18:58.680 align:middle line:90%
and see what they're storing.

00:18:58.680 --> 00:19:00.590 align:middle line:84%
But again, in this
case, we already

00:19:00.590 --> 00:19:02.990 align:middle line:84%
know that really
not much is stored.

00:19:02.990 --> 00:19:06.170 align:middle line:84%
This looks like a
simple directory listing

00:19:06.170 --> 00:19:08.520 align:middle line:90%
for a very basic website.

00:19:08.520 --> 00:19:12.110 align:middle line:84%
However, we can also perform
file brute forcing, right?

00:19:12.110 --> 00:19:13.910 align:middle line:84%
And file brute
forcing is essentially

00:19:13.910 --> 00:19:16.430 align:middle line:84%
the opposite of directory
brute forcing in that,

00:19:16.430 --> 00:19:19.820 align:middle line:84%
instead of performing a brute
force to find directories,

00:19:19.820 --> 00:19:22.190 align:middle line:84%
we're performing a brute
force to find files,

00:19:22.190 --> 00:19:24.050 align:middle line:90%
which is extremely important.

00:19:24.050 --> 00:19:27.290 align:middle line:84%
So in order to do that, we're
simply going to say search.

00:19:27.290 --> 00:19:31.820 align:middle line:84%
And what we'll do is we'll
type in search file, files

00:19:31.820 --> 00:19:33.500 align:middle line:90%
directory, underscore directory.

00:19:33.500 --> 00:19:35.690 align:middle line:84%
We hit Enter, and
that's the module there.

00:19:35.690 --> 00:19:37.640 align:middle line:84%
As you can see, the
description says

00:19:37.640 --> 00:19:40.340 align:middle line:84%
this is an HTTP
interesting file scanner.

00:19:40.340 --> 00:19:43.010 align:middle line:84%
So again, we'll copy
that, and we'll say use.

00:19:43.010 --> 00:19:45.710 align:middle line:90%
Paste that in there.

00:19:45.710 --> 00:19:50.070 align:middle line:84%
If we say Show Options, we
can see that the dictionary

00:19:50.070 --> 00:19:50.880 align:middle line:90%
specified here.

00:19:50.880 --> 00:19:52.890 align:middle line:84%
By the way, you can
modify this to whatever

00:19:52.890 --> 00:19:54.040 align:middle line:90%
you're comfortable with.

00:19:54.040 --> 00:19:56.970 align:middle line:84%
And again, you can
typically find word lists

00:19:56.970 --> 00:19:58.380 align:middle line:90%
under the following directory.

00:19:58.380 --> 00:20:00.930 align:middle line:84%
So the user share Metasploit
framework directory,

00:20:00.930 --> 00:20:03.600 align:middle line:90%
or you can also look under the--

00:20:03.600 --> 00:20:05.430 align:middle line:84%
if I was to set the
dictionary here,

00:20:05.430 --> 00:20:12.130 align:middle line:84%
you can also look under the
user share word lists directory.

00:20:12.130 --> 00:20:14.200 align:middle line:84%
The word list
directory on Kali Linux

00:20:14.200 --> 00:20:16.420 align:middle line:84%
is where the word
lists are stored.

00:20:16.420 --> 00:20:18.790 align:middle line:84%
So again, if I use the
tab auto completion,

00:20:18.790 --> 00:20:20.890 align:middle line:84%
you can see you have
various other word lists

00:20:20.890 --> 00:20:23.800 align:middle line:84%
here that you can use to
perform your brute forcing.

00:20:23.800 --> 00:20:26.650 align:middle line:84%
Now, based on the type of brute
forcing you're performing,

00:20:26.650 --> 00:20:29.320 align:middle line:84%
you, again, will need to use
the appropriate word list

00:20:29.320 --> 00:20:30.620 align:middle line:90%
or dictionary file.

00:20:30.620 --> 00:20:33.610 align:middle line:84%
And in this case,
it's utilizing WMAP,

00:20:33.610 --> 00:20:38.410 align:middle line:84%
which again is a module for
the Metasploit framework

00:20:38.410 --> 00:20:41.470 align:middle line:84%
that is used to perform
vulnerability scanning on a web

00:20:41.470 --> 00:20:42.100 align:middle line:90%
application.

00:20:42.100 --> 00:20:45.250 align:middle line:84%
And we'll be exploring
it during the web--

00:20:45.250 --> 00:20:48.340 align:middle line:84%
we'll be exploring it during the
vulnerability scanning section.

00:20:48.340 --> 00:20:51.370 align:middle line:84%
For now, we're just going to
use that particular dictionary.

00:20:51.370 --> 00:20:54.040 align:middle line:84%
We can specify the
extensions that we

00:20:54.040 --> 00:20:55.450 align:middle line:90%
want to limit our results to.

00:20:55.450 --> 00:20:58.750 align:middle line:84%
So if we only wanted
to perform a file

00:20:58.750 --> 00:21:03.180 align:middle line:84%
brute forcing for PHP files,
we can specify the extension

00:21:03.180 --> 00:21:03.680 align:middle line:90%
there.

00:21:03.680 --> 00:21:05.830 align:middle line:84%
However, in this case,
because we really don't

00:21:05.830 --> 00:21:08.470 align:middle line:84%
know what extensions or files
that we're going to find,

00:21:08.470 --> 00:21:10.220 align:middle line:84%
we're just going to
leave that as blank.

00:21:10.220 --> 00:21:12.580 align:middle line:84%
We're going to specify the
path as the root of the web

00:21:12.580 --> 00:21:14.920 align:middle line:84%
server, the target
IP and port is set,

00:21:14.920 --> 00:21:18.670 align:middle line:84%
and the SSL certificate is set
to false because the target web

00:21:18.670 --> 00:21:19.930 align:middle line:90%
server doesn't have one.

00:21:19.930 --> 00:21:21.200 align:middle line:90%
So I'm going to run.

00:21:21.200 --> 00:21:25.400 align:middle line:84%
And again, just give that
a few seconds to complete.

00:21:25.400 --> 00:21:27.130 align:middle line:84%
All right, so the
module is completed.

00:21:27.130 --> 00:21:28.870 align:middle line:84%
And as you can see,
we're able to find

00:21:28.870 --> 00:21:34.330 align:middle line:84%
a few files here like code.c,
index.html, tests.php, et

00:21:34.330 --> 00:21:35.650 align:middle line:90%
cetera, et cetera.

00:21:35.650 --> 00:21:38.650 align:middle line:84%
And it also brings--
or actually, outputs

00:21:38.650 --> 00:21:40.090 align:middle line:90%
the various directories.

00:21:40.090 --> 00:21:42.610 align:middle line:84%
And the reason that it's
actually providing us

00:21:42.610 --> 00:21:46.750 align:middle line:84%
with a 301 HTTP response code
is because it's redirecting.

00:21:46.750 --> 00:21:49.480 align:middle line:84%
So again, we can always
test this manually.

00:21:49.480 --> 00:21:52.870 align:middle line:84%
But we're able to enumerate
the list of directories

00:21:52.870 --> 00:21:55.550 align:middle line:84%
as well as the files
on the web server.

00:21:55.550 --> 00:21:59.650 align:middle line:84%
And in this case, apart from
tests.php and index.html,

00:21:59.650 --> 00:22:02.740 align:middle line:84%
there really isn't any other
interesting file here that,

00:22:02.740 --> 00:22:05.650 align:middle line:84%
again, can give us
an idea of finding--

00:22:05.650 --> 00:22:07.480 align:middle line:84%
or rather, give
us an entry vector

00:22:07.480 --> 00:22:09.070 align:middle line:90%
into exploiting this web server.

00:22:09.070 --> 00:22:11.500 align:middle line:84%
But again, as I said,
we'll be exploring

00:22:11.500 --> 00:22:14.770 align:middle line:84%
the concept of exploiting a
web server as we progress.

00:22:14.770 --> 00:22:17.680 align:middle line:84%
For now, however, let's
move on to targeting

00:22:17.680 --> 00:22:21.010 align:middle line:84%
the secure directory
because that looks like it

00:22:21.010 --> 00:22:22.390 align:middle line:90%
might have something useful.

00:22:22.390 --> 00:22:24.880 align:middle line:84%
And in this case, we can see
that that's the directory

00:22:24.880 --> 00:22:26.420 align:middle line:90%
we want we want to target.

00:22:26.420 --> 00:22:29.770 align:middle line:84%
Now, as I mentioned previously,
the secure directory

00:22:29.770 --> 00:22:32.020 align:middle line:84%
has authentication
enabled, which

00:22:32.020 --> 00:22:34.510 align:middle line:84%
means we need to provide
a username and password

00:22:34.510 --> 00:22:36.610 align:middle line:90%
to successfully authenticate.

00:22:36.610 --> 00:22:39.430 align:middle line:84%
And because we don't
have an idea of what

00:22:39.430 --> 00:22:40.900 align:middle line:84%
the credentials
are, we will need

00:22:40.900 --> 00:22:44.320 align:middle line:84%
to perform a brute force
similar to what we did with FTP.

00:22:44.320 --> 00:22:47.530 align:middle line:84%
And in order to do this,
or what we'll need to do,

00:22:47.530 --> 00:22:50.230 align:middle line:84%
is just clear out
the terminal here.

00:22:50.230 --> 00:22:55.120 align:middle line:84%
And we're just going to search
for a module called http_login.

00:22:55.120 --> 00:22:56.260 align:middle line:90%
And we hit Enter.

00:22:56.260 --> 00:22:58.300 align:middle line:84%
And the one we're looking
for is this one here.

00:22:58.300 --> 00:23:02.260 align:middle line:84%
This is an auxiliary module
scanner, HTTP, HTTP login.

00:23:02.260 --> 00:23:05.470 align:middle line:84%
And it is an HTTP login
utility, so it essentially

00:23:05.470 --> 00:23:08.860 align:middle line:84%
allows us to perform a brute
force on an authentication

00:23:08.860 --> 00:23:09.730 align:middle line:90%
form.

00:23:09.730 --> 00:23:12.040 align:middle line:84%
So I'm going to
say use, and we're

00:23:12.040 --> 00:23:14.140 align:middle line:84%
going to paste in the
module name there.

00:23:14.140 --> 00:23:16.390 align:middle line:90%
And we'll show the options.

00:23:16.390 --> 00:23:17.500 align:middle line:90%
And we'll hit Enter.

00:23:17.500 --> 00:23:21.850 align:middle line:84%
So the first option or setting
that we need to configure

00:23:21.850 --> 00:23:24.760 align:middle line:84%
is the authURI, or
the directory that

00:23:24.760 --> 00:23:26.350 align:middle line:90%
has authentication enabled.

00:23:26.350 --> 00:23:28.270 align:middle line:90%
So that is the secure directory.

00:23:28.270 --> 00:23:29.960 align:middle line:90%
So we want to set that up first.

00:23:29.960 --> 00:23:34.240 align:middle line:84%
So I'm going to
say set auth_uri,

00:23:34.240 --> 00:23:36.790 align:middle line:84%
and then we're going
to set that to secure.

00:23:36.790 --> 00:23:38.320 align:middle line:90%
We hit Enter.

00:23:38.320 --> 00:23:40.120 align:middle line:84%
The next option that
we can configure

00:23:40.120 --> 00:23:41.405 align:middle line:90%
is the brute force speed.

00:23:41.405 --> 00:23:43.030 align:middle line:84%
So again, you might
want to tweak this.

00:23:43.030 --> 00:23:45.280 align:middle line:84%
And it's currently set
to the fastest option.

00:23:45.280 --> 00:23:48.760 align:middle line:84%
So it's from zero to five,
based on the web service

00:23:48.760 --> 00:23:50.750 align:middle line:90%
capability of handling traffic.

00:23:50.750 --> 00:23:53.650 align:middle line:84%
So again, you may want
to be careful with that.

00:23:53.650 --> 00:23:56.140 align:middle line:84%
Again, I'm just going to
leave it as the default.

00:23:56.140 --> 00:23:59.350 align:middle line:84%
We don't have a database
of all credentials.

00:23:59.350 --> 00:24:01.420 align:middle line:84%
Instead, we're going to
be utilizing a password

00:24:01.420 --> 00:24:03.800 align:middle line:90%
file and a user file here.

00:24:03.800 --> 00:24:07.090 align:middle line:84%
And again, as for the
target IP, that's been set.

00:24:07.090 --> 00:24:08.530 align:middle line:90%
The target port has been set.

00:24:08.530 --> 00:24:10.580 align:middle line:84%
We don't have an
SSL certificate,

00:24:10.580 --> 00:24:12.160 align:middle line:90%
so that's set correctly.

00:24:12.160 --> 00:24:14.410 align:middle line:84%
You can also change the
amount of threads, or rather,

00:24:14.410 --> 00:24:16.035 align:middle line:84%
the number of concurrent
threads if you

00:24:16.035 --> 00:24:18.460 align:middle line:90%
want to speed up the process.

00:24:18.460 --> 00:24:20.950 align:middle line:84%
For now, what I
want to do is unset

00:24:20.950 --> 00:24:24.130 align:middle line:84%
the user pass file, because
we really don't need it.

00:24:24.130 --> 00:24:25.870 align:middle line:84%
As you can see, this
is a file containing

00:24:25.870 --> 00:24:30.080 align:middle line:84%
users and passwords separated
by a space one per line.

00:24:30.080 --> 00:24:32.530 align:middle line:84%
And the reason we don't need
it is because we already

00:24:32.530 --> 00:24:35.680 align:middle line:84%
have a user file specified
and a pass file specified.

00:24:35.680 --> 00:24:38.860 align:middle line:84%
So the user file contains
a list of usernames

00:24:38.860 --> 00:24:41.470 align:middle line:84%
that we're performing
the brute force with,

00:24:41.470 --> 00:24:44.260 align:middle line:84%
and then the pass file, again,
contains a list of passwords

00:24:44.260 --> 00:24:46.250 align:middle line:84%
that we're performing
the brute force with.

00:24:46.250 --> 00:24:54.690 align:middle line:84%
So I'm just going to say unset
user pass, user pass file.

00:24:54.690 --> 00:24:56.550 align:middle line:84%
And that's going to
unset that option.

00:24:56.550 --> 00:24:58.990 align:middle line:90%
So we say show options again.

00:24:58.990 --> 00:25:01.030 align:middle line:84%
You can see that we have
everything configured.

00:25:01.030 --> 00:25:02.655 align:middle line:84%
So I'm just going to
hit Run, and let's

00:25:02.655 --> 00:25:05.040 align:middle line:84%
see whether we're able to
find any credentials here

00:25:05.040 --> 00:25:06.200 align:middle line:90%
through the brute force.

00:25:06.200 --> 00:25:07.497 align:middle line:90%
So I'm going to hit Run.

00:25:07.497 --> 00:25:11.790 align:middle line:90%


00:25:11.790 --> 00:25:13.530 align:middle line:84%
All right, so it
doesn't look like we

00:25:13.530 --> 00:25:16.710 align:middle line:84%
were able to find any
legitimate credentials.

00:25:16.710 --> 00:25:19.620 align:middle line:84%
And the way the Metasploit
framework modules work

00:25:19.620 --> 00:25:23.700 align:middle line:84%
is that whenever you see
this red brackets here

00:25:23.700 --> 00:25:26.310 align:middle line:84%
with an hyphen within
it, that essentially

00:25:26.310 --> 00:25:27.660 align:middle line:90%
means that that is failed.

00:25:27.660 --> 00:25:31.740 align:middle line:84%
If you see a blue bracket, and
that essentially encapsulating

00:25:31.740 --> 00:25:34.800 align:middle line:84%
an asterisk, that is simply
a banner or information

00:25:34.800 --> 00:25:36.030 align:middle line:90%
that's printed out.

00:25:36.030 --> 00:25:38.730 align:middle line:84%
If we do get a
successful operation,

00:25:38.730 --> 00:25:40.560 align:middle line:84%
it'll be printed in
green, or rather, you

00:25:40.560 --> 00:25:44.520 align:middle line:84%
should see a green set of
brackets beside the results.

00:25:44.520 --> 00:25:49.780 align:middle line:84%
So what we want to do is we
want to change our user list.

00:25:49.780 --> 00:25:52.110 align:middle line:84%
So I'm going to
say Show Options.

00:25:52.110 --> 00:25:54.960 align:middle line:84%
We're going to change the user
file as well as the password

00:25:54.960 --> 00:25:57.720 align:middle line:84%
file to something that's
a little bit more powerful

00:25:57.720 --> 00:26:00.660 align:middle line:84%
or one that's a bit more
robust, because it's currently

00:26:00.660 --> 00:26:03.610 align:middle line:90%
using HTTP default users.

00:26:03.610 --> 00:26:07.860 align:middle line:84%
And again, that might not
be a good option for us.

00:26:07.860 --> 00:26:12.620 align:middle line:84%
So I'm going to say set
user file right over here.

00:26:12.620 --> 00:26:16.970 align:middle line:84%
And we are going to use one
under the Metasploit framework

00:26:16.970 --> 00:26:17.580 align:middle line:90%
directory.

00:26:17.580 --> 00:26:22.290 align:middle line:84%
So I'm to say user share
Metasploit framework.

00:26:22.290 --> 00:26:24.770 align:middle line:84%
And then, we're going to
go on the data, word lists,

00:26:24.770 --> 00:26:29.520 align:middle line:84%
and we're going to use
the namelist.txt file.

00:26:29.520 --> 00:26:30.650 align:middle line:90%
So I'm going to hit Enter.

00:26:30.650 --> 00:26:33.330 align:middle line:84%
The next option we need
to set is the pass file.

00:26:33.330 --> 00:26:35.660 align:middle line:90%
So I'm to say set pass file.

00:26:35.660 --> 00:26:40.950 align:middle line:84%
And we're going to change
that to user share Metasploit

00:26:40.950 --> 00:26:45.430 align:middle line:90%
framework data word lists.

00:26:45.430 --> 00:26:47.920 align:middle line:84%
And the one we're
going to use is,

00:26:47.920 --> 00:26:50.530 align:middle line:84%
we'll just use Unix
passwords as that one

00:26:50.530 --> 00:26:54.350 align:middle line:84%
has been quite successful for
us during our previous videos.

00:26:54.350 --> 00:26:58.160 align:middle line:84%
So I'm going to hit Enter, and
we're just going to hit Run.

00:26:58.160 --> 00:27:01.580 align:middle line:84%
And let's see whether we
able to enumerate any or find

00:27:01.580 --> 00:27:03.002 align:middle line:90%
the legitimate credentials here.

00:27:03.002 --> 00:27:05.210 align:middle line:84%
So it's going to go through
all username and password

00:27:05.210 --> 00:27:06.170 align:middle line:90%
combinations.

00:27:06.170 --> 00:27:08.030 align:middle line:84%
And this, of course,
will take a while.

00:27:08.030 --> 00:27:10.940 align:middle line:84%
And if I just terminate
this, I can actually-- again,

00:27:10.940 --> 00:27:12.920 align:middle line:84%
let me just show the
options here and take you

00:27:12.920 --> 00:27:15.650 align:middle line:84%
through one important option
that will be very useful,

00:27:15.650 --> 00:27:17.390 align:middle line:90%
and that is the VERBOSE option.

00:27:17.390 --> 00:27:20.180 align:middle line:84%
We can set this to false
to essentially prevent it

00:27:20.180 --> 00:27:22.370 align:middle line:84%
from outputting
all failed requests

00:27:22.370 --> 00:27:25.050 align:middle line:84%
and only displaying the
ones that are successful.

00:27:25.050 --> 00:27:30.380 align:middle line:84%
So we can say set VERBOSE
to false and then hit Run.

00:27:30.380 --> 00:27:32.220 align:middle line:84%
And that is going to
begin the brute force.

00:27:32.220 --> 00:27:34.760 align:middle line:84%
So again, give this a few
seconds to a few minutes.

00:27:34.760 --> 00:27:38.570 align:middle line:84%
Remember, these user files and
password files are quite large,

00:27:38.570 --> 00:27:40.970 align:middle line:84%
and it actually has to go
through all combinations

00:27:40.970 --> 00:27:42.650 align:middle line:90%
of users and passwords.

00:27:42.650 --> 00:27:46.150 align:middle line:84%
So we want to give this a
few seconds to a few minutes.

00:27:46.150 --> 00:27:49.030 align:middle line:84%
All right, so the module has
been running for a few minutes,

00:27:49.030 --> 00:27:53.230 align:middle line:84%
and it looks like we get an
error here for some reason.

00:27:53.230 --> 00:27:55.740 align:middle line:84%
All right, so the module has
been running for quite a while

00:27:55.740 --> 00:27:58.090 align:middle line:84%
now and it hasn't
returned any results.

00:27:58.090 --> 00:28:01.440 align:middle line:84%
So again, in this case,
it might be a far-fetched

00:28:01.440 --> 00:28:03.630 align:middle line:84%
to actually get the
legitimate credentials.

00:28:03.630 --> 00:28:08.010 align:middle line:84%
So we can also try other ways
of enumerating users here

00:28:08.010 --> 00:28:11.040 align:middle line:84%
in order to identify specific
usernames that will, again,

00:28:11.040 --> 00:28:13.210 align:middle line:84%
help us narrow down
the brute force.

00:28:13.210 --> 00:28:15.750 align:middle line:84%
So what we can do is just
terminate that there.

00:28:15.750 --> 00:28:18.930 align:middle line:84%
And we can search for
another module that's

00:28:18.930 --> 00:28:21.750 align:middle line:84%
pertinent to
Apache, and that is,

00:28:21.750 --> 00:28:23.230 align:middle line:84%
if I can just
search for it here,

00:28:23.230 --> 00:28:26.260 align:middle line:84%
let me just type
in the search term.

00:28:26.260 --> 00:28:32.050 align:middle line:84%
So that's the Apache user
directory enum module,

00:28:32.050 --> 00:28:33.720 align:middle line:90%
which is right over here.

00:28:33.720 --> 00:28:37.240 align:middle line:84%
And I'll just copy it and let me
tell you exactly what it does.

00:28:37.240 --> 00:28:40.980 align:middle line:84%
So if I show the options
here, you can see--

00:28:40.980 --> 00:28:42.240 align:middle line:90%
let me type in info.

00:28:42.240 --> 00:28:44.670 align:middle line:84%
You can see that this
will, essentially--

00:28:44.670 --> 00:28:48.900 align:middle line:84%
again, this module essentially
utilizes the mod directory

00:28:48.900 --> 00:28:52.830 align:middle line:84%
functional-- or rather, the
user directory directive that's

00:28:52.830 --> 00:28:56.010 align:middle line:84%
enabled, or rather, that is
available with the Apache web

00:28:56.010 --> 00:28:56.830 align:middle line:90%
server.

00:28:56.830 --> 00:28:59.790 align:middle line:84%
And again, as you can see,
Apache with the user directory

00:28:59.790 --> 00:29:02.280 align:middle line:84%
directive enables generated
different error quotes

00:29:02.280 --> 00:29:05.610 align:middle line:84%
when a username exists,
and there is no public HTML

00:29:05.610 --> 00:29:06.150 align:middle line:90%
directory.

00:29:06.150 --> 00:29:08.453 align:middle line:84%
And when the username
does not exist,

00:29:08.453 --> 00:29:09.870 align:middle line:84%
which could allow
remote attackers

00:29:09.870 --> 00:29:12.070 align:middle line:84%
to determine valid
usernames on the server.

00:29:12.070 --> 00:29:16.590 align:middle line:84%
So this will help us identify
valid users on the server.

00:29:16.590 --> 00:29:19.350 align:middle line:84%
So again, what we
can do is specify

00:29:19.350 --> 00:29:20.850 align:middle line:90%
the target IP, which is done.

00:29:20.850 --> 00:29:24.255 align:middle line:84%
The target URI, which
we will just leave it as

00:29:24.255 --> 00:29:26.400 align:middle line:84%
is as the root of
the web server.

00:29:26.400 --> 00:29:29.880 align:middle line:84%
And we can then change
the word list, probably,

00:29:29.880 --> 00:29:33.110 align:middle line:84%
that we're using here to maybe
common users or something

00:29:33.110 --> 00:29:33.610 align:middle line:90%
like that.

00:29:33.610 --> 00:29:35.050 align:middle line:84%
So I'm going to
do that right now.

00:29:35.050 --> 00:29:38.750 align:middle line:84%
So I'm going to say Set
User, and we'll just

00:29:38.750 --> 00:29:46.280 align:middle line:84%
say Ser User file and say user
share Metasploit framework data

00:29:46.280 --> 00:29:50.930 align:middle line:84%
word lists, and then
commonusers.txt.

00:29:50.930 --> 00:29:52.460 align:middle line:90%
And then we just hit Enter.

00:29:52.460 --> 00:29:55.160 align:middle line:84%
And it looks like
with we've been

00:29:55.160 --> 00:29:57.810 align:middle line:90%
able to find a few users here.

00:29:57.810 --> 00:30:01.850 align:middle line:84%
So for example, as you can see
here, users found is rooty.

00:30:01.850 --> 00:30:04.670 align:middle line:84%
So we can use that
information, now,

00:30:04.670 --> 00:30:06.850 align:middle line:84%
to try and narrow
down our brute force.

00:30:06.850 --> 00:30:12.802 align:middle line:84%
So again, if I search for HTTP
login, and we can then use it.

00:30:12.802 --> 00:30:14.760 align:middle line:84%
And we're just going to
remember the user here,

00:30:14.760 --> 00:30:15.593 align:middle line:90%
which is just rooty.

00:30:15.593 --> 00:30:18.830 align:middle line:84%
So I'm going to say use and
then paste that in there.

00:30:18.830 --> 00:30:20.810 align:middle line:90%
Show the options now.

00:30:20.810 --> 00:30:24.320 align:middle line:84%
We're going to use the
default password list as is,

00:30:24.320 --> 00:30:28.550 align:middle line:84%
and we can then specify
or set up the user

00:30:28.550 --> 00:30:30.150 align:middle line:90%
that we want to utilize.

00:30:30.150 --> 00:30:32.630 align:middle line:84%
So in order to do
that, we'll need

00:30:32.630 --> 00:30:34.830 align:middle line:90%
to create our own user file.

00:30:34.830 --> 00:30:37.070 align:middle line:84%
And we can do that by
simply saying echo,

00:30:37.070 --> 00:30:38.930 align:middle line:84%
and we'll just
Enter the username

00:30:38.930 --> 00:30:40.610 align:middle line:90%
that we found, which was rooty.

00:30:40.610 --> 00:30:45.830 align:middle line:84%
And we'll export that into
a file called user.txt.

00:30:45.830 --> 00:30:47.150 align:middle line:90%
And we just hit Enter.

00:30:47.150 --> 00:30:49.940 align:middle line:84%
And now, we can specify
that as the user file.

00:30:49.940 --> 00:30:52.820 align:middle line:84%
So I'm going to say
set user file, and that

00:30:52.820 --> 00:30:56.490 align:middle line:84%
is under the root
directory of this system.

00:30:56.490 --> 00:31:00.740 align:middle line:84%
And we're just going to say
user.txt, hit Enter, and now

00:31:00.740 --> 00:31:03.750 align:middle line:84%
let's see whether we're able to
find the password for the user

00:31:03.750 --> 00:31:04.250 align:middle line:90%
rooty.

00:31:04.250 --> 00:31:06.808 align:middle line:84%
So again, just give
that a few seconds.

00:31:06.808 --> 00:31:08.850 align:middle line:84%
All right, so it looks
like we get an error here.

00:31:08.850 --> 00:31:10.350 align:middle line:84%
So what I'm going
to do is I'm going

00:31:10.350 --> 00:31:12.680 align:middle line:84%
to set the verbosity
option to true

00:31:12.680 --> 00:31:15.290 align:middle line:84%
so that we can see what's
going wrong exactly.

00:31:15.290 --> 00:31:18.360 align:middle line:84%
So you can see it goes through
all the combinations here.

00:31:18.360 --> 00:31:21.090 align:middle line:84%
And let's see where we
have the error here.

00:31:21.090 --> 00:31:24.050 align:middle line:84%
So it probably might
be a working password.

00:31:24.050 --> 00:31:26.870 align:middle line:84%
However, we can't legitimately
log in or utilize it

00:31:26.870 --> 00:31:28.290 align:middle line:90%
for whatever reason.

00:31:28.290 --> 00:31:31.370 align:middle line:84%
So again, just give
this a few seconds.

00:31:31.370 --> 00:31:35.570 align:middle line:84%
And it looks like we get an
error when we, essentially,

00:31:35.570 --> 00:31:37.610 align:middle line:84%
reach one of the
following passwords.

00:31:37.610 --> 00:31:39.920 align:middle line:84%
So again, in this
case, we aren't

00:31:39.920 --> 00:31:43.850 align:middle line:84%
able to find the credentials
to access the secure directory.

00:31:43.850 --> 00:31:47.775 align:middle line:84%
We can probably, again, play
around with the various word

00:31:47.775 --> 00:31:49.400 align:middle line:84%
lists that we're
using and the password

00:31:49.400 --> 00:31:51.230 align:middle line:84%
files that we're
using, and again,

00:31:51.230 --> 00:31:54.800 align:middle line:84%
all I wanted to demonstrate
within this particular module

00:31:54.800 --> 00:31:56.630 align:middle line:84%
or within this
particular video is

00:31:56.630 --> 00:31:59.630 align:middle line:84%
that there are multiple
auxiliary modules that you

00:31:59.630 --> 00:32:02.580 align:middle line:84%
can use and they can be very
helpful in different contexts.

00:32:02.580 --> 00:32:05.750 align:middle line:84%
Now, all of these modules
will work on any web server,

00:32:05.750 --> 00:32:08.060 align:middle line:84%
regardless of whether
it's Apache, Nginx,

00:32:08.060 --> 00:32:09.650 align:middle line:90%
or Microsoft IaaS.

00:32:09.650 --> 00:32:11.240 align:middle line:84%
However, you also
need to remember

00:32:11.240 --> 00:32:14.090 align:middle line:84%
to specify the correct
port and enable SSL

00:32:14.090 --> 00:32:17.130 align:middle line:84%
if you're targeting a web
server with the SSL certificate.

00:32:17.130 --> 00:32:20.720 align:middle line:84%
So that's going to conclude
the lab demonstration.

00:32:20.720 --> 00:32:22.220 align:middle line:84%
In the next video,
we're going to be

00:32:22.220 --> 00:32:25.612 align:middle line:84%
taking a look at how to
perform enumeration on MySQL.

00:32:25.612 --> 00:32:27.320 align:middle line:84%
So we're going to be
taking a look at how

00:32:27.320 --> 00:32:29.840 align:middle line:84%
to extract as much
information as possible

00:32:29.840 --> 00:32:32.250 align:middle line:90%
from a MySQL database server.

00:32:32.250 --> 00:32:34.660 align:middle line:90%
So I'll see you there.