Welcome to part three of this module.
This might be the shortest video in the entire class.
We're going to be looking at how to convert Debian directly into Kali Linux.
And I apologize for the aspect ratio here we're in virtual box and getting this to run full screen is
just not worth it because this is going to take about two minutes.
So why is this useful.
Why would we want to do this.
Well most virtual private servers or full servers don't offer Cally Linux or any other penetration testing
distribution by default but Debian is very commonly offered as an operating system choice and Carly
is built on Debian.
The simplest idea is to just stick with Debian and download whatever tool or tools you require on an
as needed basis.
After all you really don't need every single thing in the repository.
Think about all the tools that come bundled with Carly that you just never have a reason to use and
base Debian attracts a lot less attention than Kelly really.
Almost any distribution of Linux can run penetration testing tools.
You don't need Carly it just makes things a little easier.
But let's say that you want Carly.
How do you do it.
So the first thing we're gonna do is we're going to open up our web browser and because this is a virtual
box it's probably going to take a minute.
OK.
And now we're going to search for D.B. in to Carly get hub.
We'll click on the first link that comes up and there are various options for doing this by the way
so if you don't like this particular script you really don't need to use it and as I said you can do
this by hand you don't need a script you can just download the tools that you need.
But let's say you know you don't really want to do that.
You want to convert Demian to Cally all at once.
You want to start the process and you've logged in your virtual private server.
It's late at night.
You start the process.
You go to bed you wake up it's done.
And that's the idea.
So the first thing we're going to do is we're gonna scroll over and we're going to clone the link by
copying it to the clipboard or by just highlighting it.
And copying it this way and then we can close our browser we're done with that.
And now we're going to bring up the terminal
like so.
OK so here we have our somewhat painful to look at vanilla DB in terminal.
So the first thing that we want to do is make sure that we have root access if you know for a fact that
you have root access you can skip this step.
But if we're on a new installation of Debian you may or may not.
So if you don't you type s you space TAC or dash supplier route password and now we have route.
Now the following commands are going to start with the command sudo which stands for super user do pseudo
might not actually be installed by default.
So if it's not.
Here we are in route we're going to do apt get install pseudo For me it's already installed and you
will probably already have it as well.
So we're going to begin with sudo apt get update.
I'm not going to run this it'll take forever but if you are running a freshly installed version of Debian
you really want to do this before you try to convert to Cowley It just makes things go smoother.
You don't want anything to get broken along the way.
After that we're gonna do sudo apt get attack y install get this will take a few moments and it should
be finishing right about.
Keep in mind because we're doing this on virtual box.
It's a little slow although with a virtual private server the experience would probably be the same.
Okay here we go.
That's done.
Now we're going to do C.D. forward slash Opie T.
And we're going to do it clone and we're gonna paste in that link okay.
And now we're gonna run bash Deb to Carly slash Deb to Carly dot S H and once that very very long process
finally finishes you'll be in a normal vanilla installation of Carly Linux.
However you won't have any apps and there may be a few little quirks.
For example you may find that route at Carly is not colored red by default and the log in screen still
appears to be somewhat more D.B. and ask in its look but basically it will be Carly Linux and from there
in order to get all of the apps that you normally associate with Carly and to make it fully functional
and to change up the little quirky imperfections we just type sudo apt get install Carly dash Linux
Dash full and again the second command is going to take a very very very long time.
So really you're looking at about probably a night and a day you run the first command at bedtime you
go to sleep you wake up hopefully it's done and then you start your day you run this command and when
you get home from the office hopefully Carly will be fully installed it may take a little longer than
that.
Keep in mind that when you're installing everything that comes with Carly normally you may be prompted
on occasion to setup certain tool defaults.
For example Mac change your will ask you if you want it to run every time Carly is loaded or if you
want to run it manually for example and your process won't really be interrupted with this except that
the tools that require user input will require you to select something before they install.
So you may have to check it when you get home and make sure that it's all installed properly but in
any case overall this is one really easy way to do it.
And once you're done your Debian server will be running Kelly.
One thing I suggest doing immediately is to make sure that your new installation of Carly is allowing
SSA connections.
So please see the prior video on virtual private servers connecting to them.
For more information about how to do that it's really rather straightforward.
You shouldn't log out before you've done this though just in case you don't want to run the risk of
losing your ability to connect with SSA each and then having to reinstall Debian and start all over
again that would just be a pain.
So this is a fast way of doing it.
Like I said there are others and you really don't have to do it this way you can just install tools
on an as needed basis.
You can flavor your DB and or your other version of Linux any way you want but that's really about it.
And it's a quick way to convert a vanilla installation to something a bit more usable that requires
very little user input you just have to start the process and let the server run and then when you come
back to a little later you're good you're golden.
So hopefully this was helpful and I'll see you in the next video.
Thank you.