Time
1 hour 18 minutes
Difficulty
Intermediate
CEU/CPE
2

Video Transcription

00:00
back to the course. My name is Dave Apparatus. And today what? I'll be demonstrating this how to install the D. V. W. A application through Callie Lennix is why was insuring that both the Apache servers up and running as well as the database SQL was up and running as well. These supplementary material will actually go ahead and give you this step by step.
00:18
But for the video purpose, let's go in and dive in.
00:22
So once I open up my command terminal, I'm gonna simply tight, then get clone.
00:26
And what I'm doing is I'm taking this file the D v W ait from get up
00:38
and you'll see that it's cloning
00:40
now. Once this is cloned, I'm gonna change my directory back to my desktop.
00:44
And once more, I'll type and get clone to make it easier will copy this page. There's like,
00:49
and we'll just taste it in right here
00:54
and now what you'll see is on my desktop, you'll see the D. V. W. A folder in caps
00:58
we want to do right now is you want to change this. We want to actually make this in lower case. We can't ignore this.
01:04
Let's go in and move
01:07
T v W ay into DVD
01:10
You know this. This has now changed in for Laura Cues.
01:12
So if I go ahead and click on the files,
01:15
click in other locations
01:19
and then click on computer
01:21
the E. D. C folder
01:23
Apache to folder
01:23
sites enabled. Now this is the default configuration.
01:27
So basically, what this is saying is that to run your own local environment, the D. V W A application must be installed into this document root.
01:36
So let's go ahead and do so
01:38
going to minimize this.
01:42
So now what we have to do is we have to go ahead and typing, and we need to move this.
01:46
So let's go in and have an envy.
01:49
Devi w a gun Lower case
01:53
there
01:55
w w w t m l
02:00
and that. What I want to do is I'm gonna change my directory.
02:04
Say CV
02:08
there. Www.
02:10
You seem ill.
02:13
D v w a.
02:15
And just the type at last to see what's here.
02:19
Now this shows everything. Now what I want to do is I want to start my Apache server up. So what type of service attach you to start?
02:27
Give it a second and just the check. The start of service.
02:30
Apache too.
02:30
That is
02:32
control. See,
02:35
now, at the same time, you also want to type in service
02:38
my SQL start.
02:42
This is for the database
02:44
and again service my SQL status.
02:49
Now, at this point in time, I'm gonna go ahead and open up Firefox,
02:53
give this a second.
03:00
Now we'll close out of the secondary window. Just the test that we're up and running. We're not typing 1 27
03:07
that zero That zero. That one slash DV w a
03:12
slash index dot PHP
03:15
and you'll notice that there's never here. This is great with the file. What I'm gonna do is simply go back.
03:21
I'm gonna go back to other locations or computer rather.
03:24
And I'm gonna go into my there,
03:29
go into my www my HTML
03:31
Get rid of these two files
03:35
now in the d V w a config folder.
03:38
We're gonna go ahead and simply rename this. Get rid of the d S t d i e s t
03:42
bring it back to a p H p.
03:45
Let's go ahead now and minimize this. Bring back the browser
03:49
and refresh.
03:50
Now, here's our database setup.
03:53
So we're getting closer.
03:53
Okay? Now, when we go out and connect right now unable to connect to the database
03:59
the gun reset database.
04:01
Okay, so now we're gonna do is the following. We're gonna go back here,
04:06
and now we're gonna do is we're gonna type in
04:09
my SQL,
04:15
and then we're gonna do is type and use my SQL.
04:19
Now, the base has been changed.
04:21
Now we need to do is simply critic, user,
04:25
create user.
04:27
We call it rude to
04:29
identified by
04:30
password.
04:35
Now we want to do is grant all privileges
04:42
on
04:45
to root too.
04:48
Now we want to update
04:50
user set plug in
04:57
where user equals
04:59
through
05:02
Now again, we want to flush the current privileges,
05:11
OK, And now what we want to do simply as we want to minimize this Go back here, go to the conflict folder
05:17
And what I want to do here is changes to root too.
05:21
And remove this and somebody put password,
05:25
save,
05:26
minimize,
05:28
minimize
05:29
Go back to the browser
05:32
Click on click Great and restart
05:35
And there we go. Please log again.
05:38
Password is admin.
05:40
We're using him and the password is
05:42
password.
05:44
Don't say it. This is just a brief example. Again, further demonstrations will be provided as well as the detailed instructions. Thank you very much and look forward to seeing you in the next course.

Up Next

Session Hijacking

This course covers session hijacking, which is where an attacker takes over a legitimately established session between a user and host. This is normally seen between a user and a Web server, but it could occur with a Telnet session or other TCP-based connection.

Instructed By

Instructor Profile Image
Ken Underhill
Master Instructor at Cybrary
Master Instructor
Instructor Profile Image
Dave Kupratis
Instructor