1 00:00:00,450 --> 00:00:03,240 Welcome to part three of this module. 2 00:00:03,240 --> 00:00:06,910 This might be the shortest video in the entire class. 3 00:00:06,930 --> 00:00:12,110 We're going to be looking at how to convert Debian directly into Kali Linux. 4 00:00:12,330 --> 00:00:18,210 And I apologize for the aspect ratio here we're in virtual box and getting this to run full screen is 5 00:00:18,210 --> 00:00:22,290 just not worth it because this is going to take about two minutes. 6 00:00:22,320 --> 00:00:23,790 So why is this useful. 7 00:00:23,790 --> 00:00:25,080 Why would we want to do this. 8 00:00:25,080 --> 00:00:33,360 Well most virtual private servers or full servers don't offer Cally Linux or any other penetration testing 9 00:00:33,360 --> 00:00:41,910 distribution by default but Debian is very commonly offered as an operating system choice and Carly 10 00:00:41,910 --> 00:00:43,540 is built on Debian. 11 00:00:43,650 --> 00:00:50,580 The simplest idea is to just stick with Debian and download whatever tool or tools you require on an 12 00:00:50,640 --> 00:00:52,430 as needed basis. 13 00:00:52,470 --> 00:00:57,420 After all you really don't need every single thing in the repository. 14 00:00:57,420 --> 00:01:03,300 Think about all the tools that come bundled with Carly that you just never have a reason to use and 15 00:01:03,300 --> 00:01:07,770 base Debian attracts a lot less attention than Kelly really. 16 00:01:07,770 --> 00:01:12,190 Almost any distribution of Linux can run penetration testing tools. 17 00:01:12,330 --> 00:01:17,130 You don't need Carly it just makes things a little easier. 18 00:01:17,220 --> 00:01:19,780 But let's say that you want Carly. 19 00:01:19,860 --> 00:01:21,150 How do you do it. 20 00:01:21,150 --> 00:01:26,340 So the first thing we're gonna do is we're going to open up our web browser and because this is a virtual 21 00:01:26,340 --> 00:01:28,670 box it's probably going to take a minute. 22 00:01:29,040 --> 00:01:29,420 OK. 23 00:01:29,490 --> 00:01:36,150 And now we're going to search for D.B. in to Carly get hub. 24 00:01:36,260 --> 00:01:41,430 We'll click on the first link that comes up and there are various options for doing this by the way 25 00:01:41,440 --> 00:01:46,690 so if you don't like this particular script you really don't need to use it and as I said you can do 26 00:01:46,690 --> 00:01:51,910 this by hand you don't need a script you can just download the tools that you need. 27 00:01:51,910 --> 00:01:55,570 But let's say you know you don't really want to do that. 28 00:01:55,570 --> 00:01:59,350 You want to convert Demian to Cally all at once. 29 00:01:59,350 --> 00:02:04,140 You want to start the process and you've logged in your virtual private server. 30 00:02:04,180 --> 00:02:05,950 It's late at night. 31 00:02:05,950 --> 00:02:07,140 You start the process. 32 00:02:07,150 --> 00:02:09,040 You go to bed you wake up it's done. 33 00:02:09,050 --> 00:02:10,440 And that's the idea. 34 00:02:10,450 --> 00:02:18,760 So the first thing we're going to do is we're gonna scroll over and we're going to clone the link by 35 00:02:18,760 --> 00:02:22,780 copying it to the clipboard or by just highlighting it. 36 00:02:24,400 --> 00:02:28,930 And copying it this way and then we can close our browser we're done with that. 37 00:02:28,930 --> 00:02:31,240 And now we're going to bring up the terminal 38 00:02:34,820 --> 00:02:35,950 like so. 39 00:02:35,960 --> 00:02:42,260 OK so here we have our somewhat painful to look at vanilla DB in terminal. 40 00:02:42,260 --> 00:02:46,730 So the first thing that we want to do is make sure that we have root access if you know for a fact that 41 00:02:46,730 --> 00:02:49,780 you have root access you can skip this step. 42 00:02:49,940 --> 00:02:54,870 But if we're on a new installation of Debian you may or may not. 43 00:02:54,890 --> 00:03:05,370 So if you don't you type s you space TAC or dash supplier route password and now we have route. 44 00:03:05,510 --> 00:03:13,520 Now the following commands are going to start with the command sudo which stands for super user do pseudo 45 00:03:13,550 --> 00:03:17,060 might not actually be installed by default. 46 00:03:17,150 --> 00:03:18,260 So if it's not. 47 00:03:18,260 --> 00:03:25,020 Here we are in route we're going to do apt get install pseudo For me it's already installed and you 48 00:03:25,020 --> 00:03:27,710 will probably already have it as well. 49 00:03:27,850 --> 00:03:33,610 So we're going to begin with sudo apt get update. 50 00:03:33,610 --> 00:03:39,760 I'm not going to run this it'll take forever but if you are running a freshly installed version of Debian 51 00:03:40,270 --> 00:03:45,190 you really want to do this before you try to convert to Cowley It just makes things go smoother. 52 00:03:45,190 --> 00:03:47,730 You don't want anything to get broken along the way. 53 00:03:47,800 --> 00:03:59,990 After that we're gonna do sudo apt get attack y install get this will take a few moments and it should 54 00:03:59,990 --> 00:04:02,540 be finishing right about. 55 00:04:02,540 --> 00:04:05,150 Keep in mind because we're doing this on virtual box. 56 00:04:05,150 --> 00:04:11,240 It's a little slow although with a virtual private server the experience would probably be the same. 57 00:04:11,240 --> 00:04:11,960 Okay here we go. 58 00:04:11,960 --> 00:04:14,170 That's done. 59 00:04:14,190 --> 00:04:17,600 Now we're going to do C.D. forward slash Opie T. 60 00:04:17,700 --> 00:04:25,860 And we're going to do it clone and we're gonna paste in that link okay. 61 00:04:26,020 --> 00:04:40,310 And now we're gonna run bash Deb to Carly slash Deb to Carly dot S H and once that very very long process 62 00:04:40,430 --> 00:04:47,420 finally finishes you'll be in a normal vanilla installation of Carly Linux. 63 00:04:47,510 --> 00:04:53,010 However you won't have any apps and there may be a few little quirks. 64 00:04:53,090 --> 00:05:01,490 For example you may find that route at Carly is not colored red by default and the log in screen still 65 00:05:01,490 --> 00:05:09,860 appears to be somewhat more D.B. and ask in its look but basically it will be Carly Linux and from there 66 00:05:09,920 --> 00:05:16,220 in order to get all of the apps that you normally associate with Carly and to make it fully functional 67 00:05:16,220 --> 00:05:27,980 and to change up the little quirky imperfections we just type sudo apt get install Carly dash Linux 68 00:05:28,490 --> 00:05:37,290 Dash full and again the second command is going to take a very very very long time. 69 00:05:37,330 --> 00:05:46,180 So really you're looking at about probably a night and a day you run the first command at bedtime you 70 00:05:46,180 --> 00:05:52,150 go to sleep you wake up hopefully it's done and then you start your day you run this command and when 71 00:05:52,150 --> 00:05:59,620 you get home from the office hopefully Carly will be fully installed it may take a little longer than 72 00:05:59,620 --> 00:05:59,920 that. 73 00:05:59,920 --> 00:06:07,450 Keep in mind that when you're installing everything that comes with Carly normally you may be prompted 74 00:06:07,450 --> 00:06:12,500 on occasion to setup certain tool defaults. 75 00:06:12,520 --> 00:06:19,360 For example Mac change your will ask you if you want it to run every time Carly is loaded or if you 76 00:06:19,360 --> 00:06:26,800 want to run it manually for example and your process won't really be interrupted with this except that 77 00:06:26,800 --> 00:06:33,220 the tools that require user input will require you to select something before they install. 78 00:06:33,340 --> 00:06:40,270 So you may have to check it when you get home and make sure that it's all installed properly but in 79 00:06:40,270 --> 00:06:44,530 any case overall this is one really easy way to do it. 80 00:06:44,620 --> 00:06:48,690 And once you're done your Debian server will be running Kelly. 81 00:06:48,760 --> 00:06:55,210 One thing I suggest doing immediately is to make sure that your new installation of Carly is allowing 82 00:06:55,240 --> 00:06:56,930 SSA connections. 83 00:06:57,100 --> 00:07:01,400 So please see the prior video on virtual private servers connecting to them. 84 00:07:01,480 --> 00:07:05,220 For more information about how to do that it's really rather straightforward. 85 00:07:05,230 --> 00:07:10,720 You shouldn't log out before you've done this though just in case you don't want to run the risk of 86 00:07:10,870 --> 00:07:16,330 losing your ability to connect with SSA each and then having to reinstall Debian and start all over 87 00:07:16,330 --> 00:07:18,070 again that would just be a pain. 88 00:07:18,070 --> 00:07:20,410 So this is a fast way of doing it. 89 00:07:20,410 --> 00:07:26,830 Like I said there are others and you really don't have to do it this way you can just install tools 90 00:07:26,980 --> 00:07:28,920 on an as needed basis. 91 00:07:29,110 --> 00:07:36,000 You can flavor your DB and or your other version of Linux any way you want but that's really about it. 92 00:07:36,010 --> 00:07:43,390 And it's a quick way to convert a vanilla installation to something a bit more usable that requires 93 00:07:43,390 --> 00:07:48,730 very little user input you just have to start the process and let the server run and then when you come 94 00:07:48,730 --> 00:07:51,790 back to a little later you're good you're golden. 95 00:07:51,790 --> 00:07:55,780 So hopefully this was helpful and I'll see you in the next video. 96 00:07:55,780 --> 00:07:56,190 Thank you.