1 00:00:00,850 --> 00:00:02,830 Hello and welcome back. 2 00:00:03,640 --> 00:00:11,230 In this video, I will show you how to analyze this call and solve it. 3 00:00:13,470 --> 00:00:18,180 In the previous lesson, we have already determined that. 4 00:00:19,300 --> 00:00:19,960 The. 5 00:00:21,510 --> 00:00:26,910 Streamlined with a strict the length of the passport which you keep in. 6 00:00:28,650 --> 00:00:38,170 So the light variable, which for the remaining two stars, the length of the of which you kicked in 7 00:00:39,200 --> 00:00:44,680 in in this line, he compares whether it is less than five. 8 00:00:45,720 --> 00:00:52,580 So if your passport length is less than five, he will show the message. 9 00:00:53,180 --> 00:00:57,330 We never use a password that short. 10 00:00:58,200 --> 00:01:08,770 And that is what happened in this example when the a password length of only three characters each. 11 00:01:09,360 --> 00:01:10,200 This message. 12 00:01:12,620 --> 00:01:25,370 That suggests that the password is five characters or more, and so in this next session here, we tried 13 00:01:25,370 --> 00:01:29,060 the password, which is more than five characters. 14 00:01:30,270 --> 00:01:32,520 This time, he got a different message. 15 00:01:34,600 --> 00:01:35,140 So. 16 00:01:36,200 --> 00:01:40,400 He went on into the air spot and did some checking. 17 00:01:42,030 --> 00:01:52,860 And this time when he checked your password, he was checking to see whether the first character after 18 00:01:52,860 --> 00:02:04,020 password begins the letter H and whether the fifth character of the password begins with the letter 19 00:02:04,410 --> 00:02:05,010 you. 20 00:02:08,120 --> 00:02:10,160 So this is the first character. 21 00:02:12,730 --> 00:02:19,240 This is the first character of the password, and this is the fifth character after password. 22 00:02:21,320 --> 00:02:26,110 Let me explain how it works using not pay. 23 00:02:37,060 --> 00:02:41,830 When you enter your password, it will be stored in Hungwe. 24 00:02:44,180 --> 00:02:44,570 One. 25 00:02:47,870 --> 00:02:52,370 Assuming the opportunities aye, aye, aye, aye, aye. 26 00:02:54,990 --> 00:03:01,290 The first character on the Facebook, he's outby one zero. 27 00:03:04,810 --> 00:03:06,520 Let me use a different password. 28 00:03:07,180 --> 00:03:20,940 Let's say you have entered ABC and he saw the first character of the password is a character, a the 29 00:03:20,950 --> 00:03:36,610 second character of the password is actually one one, which is B, the third character of the password 30 00:03:37,330 --> 00:03:44,290 is ugly one two, which is C. 31 00:03:47,320 --> 00:03:52,210 The fourth character of the password is Upwey. 32 00:03:55,050 --> 00:03:57,600 One and three. 33 00:04:00,900 --> 00:04:02,380 Which is De. 34 00:04:15,050 --> 00:04:15,710 And. 35 00:04:18,640 --> 00:04:29,050 The fifth character of the password is actually one four, which is E! 36 00:04:32,760 --> 00:04:43,620 This is the notation in C language for two dimensional array, a two dimensional array is just an array 37 00:04:43,620 --> 00:04:44,740 of strings. 38 00:04:45,600 --> 00:04:53,360 So the first string is actually zero, which is the name of the program, which is C two. 39 00:04:54,450 --> 00:05:03,390 So actually zero is the name of the program itself. 40 00:05:03,570 --> 00:05:04,020 Itself. 41 00:05:08,540 --> 00:05:14,980 That is how it works and to make it complete, I would just like to. 42 00:05:17,330 --> 00:05:28,830 So in this correct me actually, two, because it has two parameters, C2 and the string for your password. 43 00:05:30,170 --> 00:05:34,400 And then in the string itself, there is. 44 00:05:35,780 --> 00:05:44,570 Two strings, the name of the program is the first three, which is ArcView zero, and it is C to this 45 00:05:44,570 --> 00:05:56,390 case, whilst the second parameter, the second string is the one which is a password you key in in 46 00:05:56,390 --> 00:06:06,850 this case, an example of be ABC, assuming that's assuming you had you had type A, B, C, D, E. 47 00:06:09,950 --> 00:06:11,990 So this is the meaning. 48 00:06:14,270 --> 00:06:15,320 Well, Occy. 49 00:06:18,060 --> 00:06:29,820 And we saw in this case in line 15, after he has confirmed that you have quién password of at least 50 00:06:29,820 --> 00:06:36,150 five characters, he went on to check whether your first character is Hajj. 51 00:06:37,140 --> 00:06:41,160 But notice here, he doesn't use the one zero. 52 00:06:42,140 --> 00:06:47,250 Huckabee, one zero is supposed to refer to the first character. 53 00:06:47,780 --> 00:06:51,020 Instead, he uses a stye front. 54 00:06:52,360 --> 00:07:05,240 It is actually the same thing, so another way to refer to the first character of a string is to use 55 00:07:05,260 --> 00:07:09,040 Estyn front harkavy one. 56 00:07:11,060 --> 00:07:17,170 So this also refers to the first character on the string is the same thing. 57 00:07:19,290 --> 00:07:31,290 Then this is the logical end operator in means that move this condition and also the second condition 58 00:07:31,290 --> 00:07:36,880 must be true before the whole expression is true. 59 00:07:38,130 --> 00:07:44,910 So the first character must be H and the fifth character must be you. 60 00:07:46,530 --> 00:07:47,670 So for here. 61 00:07:48,610 --> 00:07:50,740 Refers to the fifth character. 62 00:07:52,230 --> 00:07:54,780 Not the fourth character, why? 63 00:07:55,320 --> 00:07:58,680 Because in C a race. 64 00:08:00,210 --> 00:08:05,100 The first element of the array begins with zero. 65 00:08:06,720 --> 00:08:16,980 So the fifth element will be for so the first character of the string is element zero, whilst the fifth 66 00:08:17,190 --> 00:08:21,090 element of the string is element for. 67 00:08:22,560 --> 00:08:31,770 So this suggests that it is trying to check whether your password that you enter has hit you and you 68 00:08:32,400 --> 00:08:42,870 in the first character and fifth character, so the password should be any password with the first character 69 00:08:43,380 --> 00:08:47,700 each and the fifth character you. 70 00:08:49,920 --> 00:08:58,710 So you can type in any kind of password, for example, five characters, along with the first character 71 00:08:58,710 --> 00:09:02,330 age, the second character can be anything you want. 72 00:09:04,760 --> 00:09:07,340 By the fifth character, must be a new. 73 00:09:10,870 --> 00:09:16,430 So this is the password, let us check to confirm that is correct. 74 00:09:17,680 --> 00:09:19,570 So we are going to you now. 75 00:09:20,650 --> 00:09:25,240 Each has a first character followed by. 76 00:09:28,280 --> 00:09:39,620 And the fifth character we are going to put you into and we get a message saying it is correct, maybe 77 00:09:39,620 --> 00:09:42,290 we should pay attention to more characters. 78 00:09:43,280 --> 00:09:46,370 So this train is coming from here. 79 00:09:47,810 --> 00:09:57,620 So if you had entered the correct password that satisfies the length of at least five characters and 80 00:09:57,650 --> 00:10:07,130 also the first character must be H 55 character, you then this condition is met and you put the string 81 00:10:07,490 --> 00:10:08,050 correct. 82 00:10:08,660 --> 00:10:12,470 Maybe you should pay attention to Margaritis. 83 00:10:14,530 --> 00:10:23,170 So this is how we analyze and reverse and analyze, correct me, in Guéra. 84 00:10:24,570 --> 00:10:31,790 I hope this was easy to understand, and that's all for this video. 85 00:10:32,540 --> 00:10:33,920 Thank you for watching.