Welcome to a new lecture in the penetration testing lab now, in the last lecture, we saw how to download
and install demitasse floatable machine in the virtual box.
But as I said, the it is also required that you should download and install DeVita in your Karlee Linux.
So I did agree, David, that is down.
Vulnerable to Web application is a very useful Web application, which is intended with a lot of vulnerabilities
so that it can serve as a great application for the beginners to practice hacking.
Now, you know that hacking a target without a permission is illegal and many organizations do not create
such websites that can be hacked, that because that may lead to other consequences as well.
So David Obey is used for practicing ethical hacking within the boundaries of the law.
Now, if you go through books and if you read books, you can see that whenever you read something,
it is really important that you practice that only reading will not get you through the end.
You have to practice.
And that is why the downloadable Web application is a great source of practicing ethical hacking.
In the last lecture, we saw how to download and install it as portable and in that the DVDs, it was
already present.
But in this lecture I will show you how to download and install the DVDs in your Karley machine.
So without wasting any much time, log into a cardio machine and let us get started.
So as you can see right now, I in my candy machine, I have logged into my killing machine to download
and install or desirably, what we have to do is first go to your home directly or you can go to your
mom folder's.
And then you have to create an applications folder where you can create and download and install different
applications so that it will become easier for you to actually, you know, navigate through your browser.
So it's asking me to stop documents, downloads.
I will create open folder.
Now, here, what I will do other places is that these are the places that I will create a new folder
here calling.
It has applications in which I will be installing the future applications for this course.
So now this is the applications of all.
Now, what have to do is we have to go to the terminal.
So click this icon, which stands for the terminal.
After this now, since we have already created the applications folder and we will see how to go to
the basic commands, I will show you just a basic command click list here unless it stands for list
everything in the current directory.
As you can see, we have created the applications folder and it has appeared here.
Now, if you want to go inside that folder, you have to write change the current directly to applications
directly.
So how do we do that?
We just write a simple small command by typing code that is change directory and then type the name
of the folder in which you want to go in a folder here.
Is commonly known as a director.
So try to change applications and click into.
So right now you can see after the and the scorecard you can see that we have an application right now
where inside the applications folder.
So now leave it here.
So right now, you have created the applications folder, but for this purpose, I have this lecture
I won't be installing buried in the applications folder because since the readability runs on the local
server, we need to install it in a different direction.
So go to Akali and, you know, just close this again, open a new terminal and then I could slash that
slash w w w slash XHTML.
Now, the w w w e mails are directly in which most of the locals are applications are installed, you
can if you are a web developer or if you know how to run Apache's on your Windows machine, uh, some
of you might be aware of this directory.
Now, what you have to do next, you have to go to Mozilla, Firefox, login type Firefox and enter
it in.
It will open a browser for you.
And now what you have to go is to go to the W dot Google dot com.
And in here, you have to type divi w e and get good stands for getups, so basically we'll be downloading
BBWAA from the guitar directly.
So this is the first Web site that you see Article Hecate.
VW is a website from which will be downloading.
So click here.
And just copy the usual.
And just leave it here.
That's it.
Your job is done and now then you come in this directory, whatever type is pseudo, that means you
stand for super user.
Get.
Clone cologne means you're going to download it from that source and end the end of the world without
any space, you have to type that GeoEye to get and then hit enter.
So it is saying we trust that will receive, as usual, a lecture from the local system administrator.
It usually boils down to those things and blah, blah, blah, and will ask the password for your machine.
So give you a password and hit enter and it will start cloning the downloadable application done.
So we have installed a device that we have downloaded and installed in that directory now to check it,
just type alerts to list everything.
And there you go.
We can see W.E. Now to navigate to the VW right side, the VW and hit enter and again to see the contents
click, uh, type.
Unless now these are all the contents in the DV w a directly.
Now if you can see there's a file called uh BHB Info Dot.
These are all the files for DV w e and now we have to go into the config directly into all these names
which are blue in color are the folders in the main floor.
So how to navigate to this folder.
Just write code config.
And then Alice.
Now, you can see there are two different files configured in 08, BHP now, but before configured configuring
anything, you have to first give permissions to the division of the file.
So I have to go to step back to the original HTML directly.
How to do that.
That will take you one step back to give it away.
And if you do again KDDI spacing, it will go to each team to assign permissions to this or follow.
What we have to do is you have to type pseudo C a much more dash capital R.
And seven, do not worry, we're not getting all these commands.
We are going to learn all these commands in the next basic commands video.
So are seven, seven seven and then type the V w e press tab and then hit enter.
Now, the permissions of super have been assigned to our next job is to go inside vehicle.
So we will again go to the v w e then let's then go to config file.
So see the.
Config and hit Ellis, now you can see there is one file config, dot agency, dot, BHP, dot DST now
here.
What we have to do is we are going to configure this file.
We are going to make some changes into these files.
But there are some mis configurations and sometimes students configure the file in the entire file gets
corrupted.
So for the better purposes, we are going to create a copy of this file.
So how to create a copy of this file?
So type copy then the original files name that is Config Dot I and see.
Not BHP, DOT, DST and SpaceX, the name of the new file, so I will give the same name, but I won't
write the Doctor Distaso config, not BHP, not Oh Contiki not ANC.
Not BHP, and then he turned and who else will have the new conflict in Iraq, BHP?
Now, are you are you the next thing is we have to open this file type Nano, which is an editor in
Cali Nano config dot R and C, dot BHP and hit enter.
So here you can see that there is a lot of information and I will I'm not going into details, but I
will just show you what you have to do.
Come down to the DBI user, uh, divi w, e and R your password.
So I will change the user name to admin.
I will change the password to password.
Make sure you remember these things because these are the more important things if you want to, can
also change the IP address.
But I will keep this IP address because this is the default IP address for a school databases.
So make sure you take out a screenshot.
So I have changed the default username and password now to save this file.
What you have to do is you have to hit control and all it will ask you file name to write contact or
to be after pressing control, just hit enter and it will give you wrote 47 lines and then to exit this
file press control X.
So we have configured the file successfully.
We have changed the username and password.
Now let us clear the screen.
So.
All right, clear.
And I would like to return to my home.
That is to the root of the server.
Now what we have to do, we have configured our DPW file.
Now the next job is to configure the MySQL database.
So before you do that, we have to start the MySQL service through the start to ask the service just
type pseudo.
Service might as well start up and it will start the service if you do not try to do it, will generally
give an error.
That command are not found.
Right now, we have found we have started the service.
Now, what we have to do is you have to configure the MySQL database.
So take the command my Ezekial Dash You route and USPI and hit enter.
It will ask for password, but since we have not configured the password, I will hit enter and it will
say access is denied for the route user.
So I have to do is write sudo.
Then hit enter again, password, and there you go.
So now what we have to do is we are going to add a user into the MySQL database.
So please closely observe the video.
Do not jump between your installation and this video.
First, see the video completely so that you can get a clear idea.
So what you have to type is you have to type.
Now, since there is no user created for MySQL database, our first job is to create a new user so that
that user can access the digital serve to that type create.
User and in the semicolon, what you have to write, the username that you had configured in the conflict,
I wrote BHB in that file.
My username was admin and my password was password.
So I will write in single code admin, single codes, closed aderet, single code and IP address.
That is one twenty seven point zero point one.
Identified.
Buy in single Colen, the password of the file configured semicolon and hit enter query, okay, zero
attempted.
Then again, the next step is that we have to grant the permissions to the user.
So type grant.
Privileges.
To the same thing again.
Single admin.
But you have to grant all privileges, so I grant all privileges.
Oh, now on this database, so grant all privileges on DV w a dot star, which means on the entire database
of DV w e.
Two single coats, admin.
At the rate one twenty seven point zero point one.
Identified by.
Password and then hit Enter.
OK, a novel exit the database where typing exit let is clear the screen.
Now we have configured the DVD player.
We are also configured the MySQL database.
Our next job is to configure the server.
So what we have to write is we have to go.
We have to first start the Apache server, so.
Pseudo.
So we have to type pseudo service.
About to.
Start, which will start the apology service of your coffee machine, next step is that you have to
navigate the following directory, slash Etsy, slash BHP, slash seven point three.
Now, this May virgin may be fine, but it is generally present in our machine party too.
And slash they will go then click ellis'.
You will find a file called as BHP Ironi.
So your job is to you know, install.
This.
So what we have to do is you have to open this BHP file to type pseudo, so it gave me an error that
it is unable to locate the packages did.
So I lose nine of those Rangitoto Nano, BHP, Diana, and they have successfully opened it.
Now, what we have to do is you have to press control if to find something, but let's not press control
of just navigate down and you may find two different.
Oh.
What else would you scroll down so you have to scroll down to your allow, you are open, allow your
also allow you are open.
What you have to do is you have to turn both the values on your own, then have to save this file.
Now we have to save this file plus control or
it will ask you file name to write and then hit enter it successfully wrote in files and press control
X to exit.
Now everything is done again.
Start the service pseudo patisseries to start.
So this has been started.
Now minimize your terminal.
Go to Karley, open a new tab type or the address one twenty seven point zero point one and hit enter.
You will get a page of apology.
Devean default after 127 slash divi w e slash and you will get the set of page.