WEBVTT

1
00:00.980 --> 00:01.550
Welcome back.

2
00:01.550 --> 00:08.750
So now we are going to continue tracing the fifth character, which is this character.

3
00:08.780 --> 00:09.800
Fifth character.

4
00:09.920 --> 00:12.380
So you got the first four characters we fished out.

5
00:12.380 --> 00:15.380
So we're going to restart this, and we have just restarted.

6
00:15.380 --> 00:18.710
And now we are going to run and hit our main again.

7
00:22.390 --> 00:24.040
And now we're going to step over.

8
00:29.040 --> 00:32.880
Until we come to this call, and we step over.

9
00:32.880 --> 00:36.660
This is the if, then waits for our input.

10
00:37.650 --> 00:43.260
Now we are going to enter the first four characters which we have successfully fished out, which

11
00:43.260 --> 00:44.760
is L-I-L-2.

12
00:45.720 --> 00:50.250
So we type L-I-L-2.

13
00:50.760 --> 00:56.220
And then the fifth character, we don't know the password, so we just put 5, 6, 7, 8,

14
00:56.220 --> 00:57.750
9, hit Enter.

15
00:58.350 --> 00:59.790
So it comes back here.

16
00:59.790 --> 01:02.850
And now we step over until we come to this call.

17
01:02.850 --> 01:04.740
And we step into this call.

18
01:07.920 --> 01:08.490
Click again.

19
01:08.490 --> 01:12.150
And now we right-click and graph it, and we trace it.

20
01:13.290 --> 01:14.610
Same way we have been doing.

21
01:16.590 --> 01:19.500
So this one is the first character, L.

22
01:23.310 --> 01:25.470
This one is the second character, which is I.

23
01:30.410 --> 01:33.680
This one is the third character, which is L again, remember?

24
01:33.710 --> 01:35.660
L-I-L, L-I-L.

25
01:35.660 --> 01:36.020
And then.

26
01:36.020 --> 01:37.190
Now continue.

27
01:42.750 --> 01:46.710
And this one is the fourth character, which is 2.

28
01:47.010 --> 01:47.580
Over here.

29
01:47.610 --> 01:48.540
L-I-L-2.

30
01:50.360 --> 01:51.770
And let's come down here.

31
01:54.800 --> 01:58.340
So now is adding 4 to the counter.

32
01:58.460 --> 02:04.070
- and - are counters, so it goes up to the next loop.

33
02:05.120 --> 02:08.090
See, there's a loop here from here and goes back up.

34
02:08.480 --> 02:11.960
Continue with the loop with the new value for the counter.

35
02:12.230 --> 02:13.190
So we step over.

36
02:13.190 --> 02:15.950
Now it comes back up here. - is now 4.

37
02:19.780 --> 02:20.740
He's going to move.

38
02:20.770 --> 02:21.820
He's going to move.

39
02:21.820 --> 02:24.100
Uh, - is now 4.

40
02:24.460 --> 02:26.080
So let's step over.

41
02:26.830 --> 02:29.230
Now it's comparing the fifth character.

42
02:29.230 --> 02:31.840
Click on this and you can see the fifth character is 2.

43
02:31.870 --> 02:33.310
But we entered 5.

44
02:33.940 --> 02:36.580
So the fifth character is also 2.

45
02:37.840 --> 02:40.870
So now we know that we entered the wrong one.

46
02:40.870 --> 02:43.060
So it's going to jump.

47
02:44.470 --> 02:49.600
So he's going to jump here and then come up with the negative 1.

48
02:49.660 --> 02:50.170
All right.

49
02:50.170 --> 02:55.510
So now we restart again to fish the sixth character, run to main.

50
02:56.440 --> 03:00.340
Step over until you come to this line.

51
03:00.640 --> 03:10.810
And then step over this line, and then key in the first five characters that we have fished out, L-I-L-2-

52
03:10.840 --> 03:11.410
2.

53
03:12.400 --> 03:17.170
So now we enter L-I-L-2-2.

54
03:17.440 --> 03:21.190
But the sixth character, we don't know. Sixth character we don't know.

55
03:21.190 --> 03:22.930
So we just put 6, 7, 8, 9.

56
03:24.190 --> 03:30.100
We put 6, 7, 8, 9, hit Enter, and now we are back here.

57
03:30.100 --> 03:33.460
We step until we come to this call.

58
03:33.700 --> 03:34.990
Step into it.

59
03:35.800 --> 03:36.700
Click again.

60
03:37.210 --> 03:39.880
Right-click, graph this, and trace.

61
03:44.550 --> 03:45.060
Okay.

62
03:45.060 --> 03:49.830
First character, which is L. This L here, as you can see.

63
03:54.290 --> 03:56.240
Second character, which is I.

64
03:58.490 --> 04:00.350
And I here, as you can see.

65
04:04.550 --> 04:05.690
Third character.

66
04:05.690 --> 04:09.830
Click on this and you can see the character is L, which is this third character.

67
04:09.830 --> 04:12.830
L here. Continue to step over.

68
04:15.090 --> 04:17.670
Click on this. Fourth character is 2.

69
04:17.670 --> 04:19.860
Which is this character 2 here.

70
04:23.470 --> 04:24.970
Continue to step over.

71
04:27.020 --> 04:27.290
Go.

72
04:27.350 --> 04:28.040
Next loop.

73
04:31.020 --> 04:34.680
Now this is your fifth character, which is again 2.

74
04:34.770 --> 04:36.690
So which is this character here.

75
04:36.690 --> 04:37.170
2.

76
04:38.620 --> 04:40.510
So continue.

77
04:41.500 --> 04:45.010
Okay, so this is our sixth character, the target.

78
04:45.010 --> 04:47.020
We are now fishing this one.

79
04:47.320 --> 04:49.270
So click on this and see what is it.

80
04:49.390 --> 04:50.410
So it is 8.

81
04:50.410 --> 04:51.700
But we entered 6.

82
04:52.120 --> 04:52.990
We entered 6.

83
04:53.020 --> 04:54.130
See here, 6.

84
04:54.580 --> 05:01.180
So now we know that the sixth character is the character 8, so we have fished out 8.

85
05:03.100 --> 05:03.430
Okay.

86
05:03.430 --> 05:11.350
So because we didn't enter correctly, so it's going now it's going to jump down here and give a bad result

87
05:11.350 --> 05:13.060
for -, which is -1.

88
05:13.060 --> 05:18.340
So we can restart and run again to our loop, to our main function.

89
05:18.370 --> 05:27.010
Run until you reach this line, step over it, and then enter the first six characters we should have

90
05:27.010 --> 05:34.090
fished out, which is L-I-L-2-2-8, L-I-L-2-2-8.

91
05:34.660 --> 05:39.580
And because the seventh, eighth, and ninth, and the rest of the characters, we don't know.

92
05:39.580 --> 05:44.830
So we put 7, 8, 9 at the back here, 7, 8, 9, hit Enter.

93
05:45.760 --> 05:46.570
So we're back here.

94
05:46.570 --> 05:49.330
Now continue the step until this line.

95
05:49.330 --> 05:51.130
Step into this line.

96
05:51.130 --> 05:52.240
Step again.

97
05:53.080 --> 05:55.750
Right-click and then graph it.

98
05:55.750 --> 05:56.620
Trace.

99
05:57.700 --> 05:58.690
Step over.

100
06:01.290 --> 06:03.210
First character, L.

101
06:08.770 --> 06:10.510
Second character, I.

102
06:16.540 --> 06:18.430
Third character, L again.

103
06:23.640 --> 06:24.540
Fourth character.

104
06:24.540 --> 06:25.500
2.

105
06:26.220 --> 06:26.580
2.

106
06:26.610 --> 06:27.540
Is this one here.

107
06:27.630 --> 06:28.470
First 2.

108
06:34.560 --> 06:34.890
Okay.

109
06:34.890 --> 06:36.810
Loop goes back to the loop.

110
06:38.920 --> 06:42.910
And then here will be your fifth character.

111
06:44.260 --> 06:45.250
Which is 2.

112
06:50.120 --> 06:52.940
And then here will be your sixth character, which is 8.

113
06:53.450 --> 06:55.760
So this 8 over here is the sixth character.

114
06:56.300 --> 06:59.300
So the next one we are expecting is the seventh character.

115
06:59.300 --> 07:01.430
So let's go straight and see what happens.

116
07:03.890 --> 07:07.580
So this, click on this, will be the seventh character, which is 1.

117
07:07.580 --> 07:09.140
But we entered 7.

118
07:09.500 --> 07:11.150
We entered 7, as you can see here.

119
07:11.150 --> 07:17.360
7. So now we have fished out the next character, which is 1. Okay.

120
07:17.360 --> 07:20.690
So let's step over because we entered the wrong character.

121
07:20.690 --> 07:28.070
It's going to, is going to jump and add, return a negative 1 for -.

122
07:28.070 --> 07:32.240
So let's restart now and repeat again the same technique.

123
07:34.250 --> 07:44.330
Run until you come to this call and all this, and then enter your password that you've fished so far, which

124
07:44.330 --> 07:49.880
is L-I-L-2-2-8-1, 2-2-8-1.

125
07:50.300 --> 07:52.700
But the eighth and ninth we don't know.

126
07:53.000 --> 07:55.400
So we just put 8, 9 over here.

127
07:55.760 --> 08:01.850
Hit Enter, and then continue to step over until we come to this line.

128
08:01.850 --> 08:05.360
And then we step into this, click again.

129
08:05.360 --> 08:08.720
And then here we right-click and graph.

130
08:10.370 --> 08:11.330
Now we trace it.

131
08:13.770 --> 08:14.070
Okay.

132
08:14.070 --> 08:15.450
This is the first password.

133
08:15.480 --> 08:16.770
First character, L.

134
08:21.820 --> 08:23.110
Then followed by I.

135
08:27.800 --> 08:30.140
Click on this, followed by L again.

136
08:34.750 --> 08:37.600
Click on this, followed by 2.

137
08:41.640 --> 08:42.510
Next loop.

138
08:43.200 --> 08:44.340
Come up here.

139
08:46.320 --> 08:47.640
Followed by 2 again.

140
08:47.640 --> 08:48.930
So we are here now.

141
08:50.130 --> 08:50.940
2, 2.

142
08:50.970 --> 08:52.290
Next one should be 8.

143
08:52.740 --> 08:54.390
So let's go and see.

144
08:56.050 --> 08:56.920
Click on this.

145
08:56.920 --> 08:57.400
Yes.

146
08:57.400 --> 08:57.880
It's 8.

147
08:58.420 --> 09:00.100
Next one should be.

148
09:00.830 --> 09:01.730
1.

149
09:01.910 --> 09:04.700
So let's continue to go straight.

150
09:06.820 --> 09:07.690
Let's click on this.

151
09:07.690 --> 09:08.830
Yes, is 1.

152
09:08.830 --> 09:10.750
So now what's the next one.

153
09:11.230 --> 09:12.070
The eighth character.

154
09:12.070 --> 09:12.670
What is it.

155
09:12.670 --> 09:13.690
Let's continue.

156
09:16.250 --> 09:17.090
Click on this.

157
09:17.810 --> 09:21.980
The eighth character is 3, but we entered 8, so we entered 8.

158
09:22.010 --> 09:23.000
As you can see here.

159
09:23.360 --> 09:26.900
So the eighth character is supposed to be 3.

160
09:27.500 --> 09:28.520
So we fished it out.

161
09:29.150 --> 09:30.590
So let's continue.

162
09:31.310 --> 09:33.710
It goes here because we did not enter 3.

163
09:33.710 --> 09:34.490
It goes here.

164
09:35.120 --> 09:38.030
And it's going to return another bad value, which is negative 1.

165
09:38.030 --> 09:41.750
And let's restart and run to our main again.

166
09:42.170 --> 09:47.270
Continue to step over until we come to this call.

167
09:47.270 --> 09:48.500
Step over this call.

168
09:49.160 --> 09:57.170
And now we enter the eight characters that we have successfully fished out, which is L-I-L-

169
09:57.200 --> 10:04.370
2-2-8-1-3, L-I-L-2-2-8-1-3.

170
10:06.020 --> 10:12.740
But we don't know the ninth character and the tenth and the eleventh and the twelfth and the thirteenth and the

171
10:12.740 --> 10:13.460
fourteenth and the

172
10:13.730 --> 10:15.320
fifteenth.

173
10:15.320 --> 10:16.520
So the remainder ones.

174
10:16.520 --> 10:18.320
We just put 9.

175
10:18.320 --> 10:25.520
A, B, C. ABC is actually the hexadecimal for 10, 11, 12.

176
10:25.520 --> 10:29.990
So we just put 9, A, B, C, hit Enter, and now we are back here.

177
10:31.220 --> 10:34.340
Continue to step over until we come to this line.

178
10:34.340 --> 10:37.850
We step into this line, click again, right-click.

179
10:37.850 --> 10:40.430
And then here, graph it, trace it.

180
10:44.740 --> 10:45.910
First character.

181
10:45.910 --> 10:46.450
L.

182
10:49.970 --> 10:51.650
Second character, I.

183
10:56.020 --> 10:57.550
Third character, L again.

184
11:01.770 --> 11:03.360
Fourth character, 2.

185
11:06.460 --> 11:07.270
Loop on top.

186
11:11.280 --> 11:13.260
Click on this. Fifth character, 2.

187
11:13.290 --> 11:14.400
So we are now here.

188
11:14.400 --> 11:16.680
Fifth character, which is 2.

189
11:22.220 --> 11:24.110
This is the sixth character, which is 8.

190
11:24.110 --> 11:26.930
So we are here at the sixth character.

191
11:31.980 --> 11:32.640
Click on this.

192
11:32.640 --> 11:34.770
This is the seventh character, which is 1.

193
11:35.130 --> 11:36.660
This is your seventh character.

194
11:41.280 --> 11:41.970
Click on this.

195
11:41.970 --> 11:44.070
This is your eighth character, which is 3.

196
11:44.820 --> 11:48.270
And now we want the ninth character.

197
11:49.020 --> 11:51.600
So let's continue to step over.

198
11:53.820 --> 11:55.710
Go to the third loop.

199
11:56.610 --> 11:57.540
Come here.

200
11:57.810 --> 11:58.680
Step over.

201
11:58.830 --> 12:00.990
And this is your ninth character.

202
12:00.990 --> 12:03.210
Click on this and you can see it is 3.

203
12:03.690 --> 12:07.590
So it is another 3 here. Okay.

204
12:07.590 --> 12:12.720
So far we have got L-I-L-2-2-8-1-3-3. Okay.

205
12:12.720 --> 12:13.410
That's great.

206
12:13.410 --> 12:15.630
So let's continue to step over.

207
12:17.950 --> 12:24.070
And he's come over here, and he's going to return a bad value for -, which is negative 1.

208
12:24.820 --> 12:25.150
Okay.

209
12:25.150 --> 12:29.980
So if we solve this one, we will continue in the next lesson where we continue with the tenth character

210
12:29.980 --> 12:30.700
and so on.

211
12:30.730 --> 12:32.140
See you in the next lesson.