1 00:00:00,450 --> 00:00:06,720 In this video, we are going to hack into edema, which is a machine from the starting point. 2 00:00:08,660 --> 00:00:13,760 So open the box website and select to connect to the box. 3 00:00:15,400 --> 00:00:15,610 No. 4 00:00:15,610 --> 00:00:17,590 Download your VPN credentials. 5 00:00:20,460 --> 00:00:22,140 Or go to your download folder. 6 00:00:24,650 --> 00:00:26,660 Open the terminal in the same folder. 7 00:00:28,510 --> 00:00:33,010 And use the command sudo openvpn and the file name to connect to the VPN. 8 00:00:39,950 --> 00:00:41,370 To check your connection. 9 00:00:41,390 --> 00:00:43,900 Open a new terminal and use the command. 10 00:00:43,910 --> 00:00:44,690 I have config. 11 00:00:46,050 --> 00:00:49,970 And you will see that a new interface with the name of Turn zero has appeared. 12 00:00:56,920 --> 00:00:57,160 No. 13 00:00:57,160 --> 00:00:58,420 Back on the box. 14 00:00:58,430 --> 00:00:59,620 Spawn your machine. 15 00:01:04,080 --> 00:01:05,850 It will take a while to start. 16 00:01:09,870 --> 00:01:14,580 Once you get the IP address, ping the IP address to check your connectivity to the machine. 17 00:01:18,560 --> 00:01:23,480 Know open a new terminal and use nmap to enumerate all the services. 18 00:01:33,360 --> 00:01:39,210 Once Nmap scan is completed, you can see that ready service is running on port 6379. 19 00:01:43,220 --> 00:01:46,610 Now let's go back to the box and try to answer some questions. 20 00:01:47,750 --> 00:01:54,560 So the first task is which TCP port is open on machine, which we have already seen, which is port 21 00:01:54,560 --> 00:01:55,790 637, nine. 22 00:01:58,750 --> 00:02:03,370 So the second question is which service is running on that board, which is red is. 23 00:02:04,900 --> 00:02:06,730 As shown in our NMAP scan. 24 00:02:08,229 --> 00:02:10,870 This copy and paste it in the answer box. 25 00:02:13,520 --> 00:02:18,530 The third question is a general question which says which type of database is that is. 26 00:02:19,650 --> 00:02:23,580 Redis is an in-memory database that is not a traditional database. 27 00:02:23,580 --> 00:02:26,970 So type in in-memory database and click submit answer. 28 00:02:28,020 --> 00:02:32,390 The next question is which command line utility can be used to interact with the ready server? 29 00:02:33,520 --> 00:02:35,050 Now our case is ready. 30 00:02:35,090 --> 00:02:35,650 Cly. 31 00:02:37,090 --> 00:02:40,690 Let's just go back to Cali and see if it's installed there. 32 00:02:43,640 --> 00:02:46,520 It's not installed, so we need to install it. 33 00:02:48,740 --> 00:02:52,250 But update your repositories with sudo apt update command. 34 00:02:59,030 --> 00:03:02,090 While it is updating, we can answer the question. 35 00:03:04,170 --> 00:03:04,590 It's ready. 36 00:03:04,620 --> 00:03:05,100 Click. 37 00:03:05,310 --> 00:03:06,210 Submit the answer. 38 00:03:09,940 --> 00:03:12,310 So the next question is about the red clay. 39 00:03:14,100 --> 00:03:18,060 Which flag is used with red is command utility to specify the host name. 40 00:03:19,290 --> 00:03:23,220 Let's first install it CLY and then get some help. 41 00:03:25,810 --> 00:03:30,190 Just use the command sudo apt get install radius tools. 42 00:03:36,000 --> 00:03:40,560 Once installed, you can check the health menu with dash flag. 43 00:03:46,730 --> 00:03:50,900 And you can see that dash edge is used to specify the host name. 44 00:03:51,620 --> 00:03:55,220 This answer the task pipe question with dash edge and summit answer. 45 00:03:59,440 --> 00:04:02,020 So the next question is, was connected to that server. 46 00:04:02,020 --> 00:04:07,780 Which command can be used to obtain the information about the stats, about the ready server? 47 00:04:10,070 --> 00:04:13,220 Let's go back to Carly and connect to our target machine. 48 00:04:16,170 --> 00:04:20,130 Just use the command ready cliff edge with the IP address of your target. 49 00:04:25,040 --> 00:04:26,240 And you will be connected. 50 00:04:27,510 --> 00:04:31,560 They use the command info and it will list all the stats of the server. 51 00:04:36,650 --> 00:04:41,330 So type in info as answer in da six and click submit. 52 00:04:42,300 --> 00:04:46,560 Well, the next task is what is the version of the ready server being used in the target machine? 53 00:04:47,390 --> 00:04:50,180 The Nmap scan has already enlisted the version. 54 00:04:50,270 --> 00:04:55,820 Just check the version from NMAP scan, which is 5.0.7 and answer the question. 55 00:05:01,390 --> 00:05:04,990 Now the next question is which command is used to select the desired database? 56 00:05:09,010 --> 00:05:13,300 Just go back to Cali and use the command select zero to select the database. 57 00:05:16,290 --> 00:05:18,470 So the answer is the select command. 58 00:05:22,020 --> 00:05:26,130 The next question is how many keys are present inside database with index zero. 59 00:05:30,940 --> 00:05:35,440 We can use the command key's static to check the number of keys available. 60 00:05:37,200 --> 00:05:38,760 So there are four keys. 61 00:05:45,180 --> 00:05:49,110 Well, the next question is which command is used to obtain all keys in the database? 62 00:05:52,750 --> 00:05:53,110 No. 63 00:05:53,110 --> 00:05:54,310 We need to get the flag. 64 00:05:55,680 --> 00:05:56,220 Back on. 65 00:05:56,220 --> 00:05:59,040 Golly, we can see that there is a flag key available. 66 00:05:59,400 --> 00:06:02,400 Just use the command gate flag and you will get the flag. 67 00:06:02,700 --> 00:06:06,480 Just copy the flag and paste it on the box. 68 00:06:10,270 --> 00:06:14,290 And we have successfully routed the Redeemer machine from the box.