Welcome back.
So now we are going to continue tracing the fifth character, which is this character.
Fifth character.
So you got the first four characters we fished out.
So we're going to restart this, and we have just restarted.
And now we are going to run and hit our main again.
And now we're going to step over.
Until we come to this call, and we step over.
This is the if, then waits for our input.
Now we are going to enter the first four characters which we have successfully fished out, which
is L-I-L-2.
So we type L-I-L-2.
And then the fifth character, we don't know the password, so we just put 5, 6, 7, 8,
9, hit Enter.
So it comes back here.
And now we step over until we come to this call.
And we step into this call.
Click again.
And now we right-click and graph it, and we trace it.
Same way we have been doing.
So this one is the first character, L.
This one is the second character, which is I.
This one is the third character, which is L again, remember?
L-I-L, L-I-L.
And then.
Now continue.
And this one is the fourth character, which is 2.
Over here.
L-I-L-2.
And let's come down here.
So now is adding 4 to the counter.
- and - are counters, so it goes up to the next loop.
See, there's a loop here from here and goes back up.
Continue with the loop with the new value for the counter.
So we step over.
Now it comes back up here. - is now 4.
He's going to move.
Uh, - is now 4.
So let's step over.
Now it's comparing the fifth character.
Click on this and you can see the fifth character is 2.
But we entered 5.
So the fifth character is also 2.
So now we know that we entered the wrong one.
So it's going to jump.
So he's going to jump here and then come up with the negative 1.
All right.
So now we restart again to fish the sixth character, run to main.
Step over until you come to this line.
And then step over this line, and then key in the first five characters that we have fished out, L-I-L-2-
2.
So now we enter L-I-L-2-2.
But the sixth character, we don't know. Sixth character we don't know.
So we just put 6, 7, 8, 9.
We put 6, 7, 8, 9, hit Enter, and now we are back here.
We step until we come to this call.
Step into it.
Click again.
Right-click, graph this, and trace.
Okay.
First character, which is L. This L here, as you can see.
Second character, which is I.
And I here, as you can see.
Third character.
Click on this and you can see the character is L, which is this third character.
L here. Continue to step over.
Click on this. Fourth character is 2.
Which is this character 2 here.
Continue to step over.
Go.
Next loop.
Now this is your fifth character, which is again 2.
So which is this character here.
2.
So continue.
Okay, so this is our sixth character, the target.
We are now fishing this one.
So click on this and see what is it.
So it is 8.
But we entered 6.
We entered 6.
See here, 6.
So now we know that the sixth character is the character 8, so we have fished out 8.
Okay.
So because we didn't enter correctly, so it's going now it's going to jump down here and give a bad result
for -, which is -1.
So we can restart and run again to our loop, to our main function.
Run until you reach this line, step over it, and then enter the first six characters we should have
fished out, which is L-I-L-2-2-8, L-I-L-2-2-8.
And because the seventh, eighth, and ninth, and the rest of the characters, we don't know.
So we put 7, 8, 9 at the back here, 7, 8, 9, hit Enter.
So we're back here.
Now continue the step until this line.
Step into this line.
Step again.
Right-click and then graph it.
Trace.
Step over.
First character, L.
Second character, I.
Third character, L again.
Fourth character.
2.
Is this one here.
First 2.
Okay.
Loop goes back to the loop.
And then here will be your fifth character.
Which is 2.
And then here will be your sixth character, which is 8.
So this 8 over here is the sixth character.
So the next one we are expecting is the seventh character.
So let's go straight and see what happens.
So this, click on this, will be the seventh character, which is 1.
But we entered 7.
We entered 7, as you can see here.
7. So now we have fished out the next character, which is 1. Okay.
So let's step over because we entered the wrong character.
It's going to, is going to jump and add, return a negative 1 for -.
So let's restart now and repeat again the same technique.
Run until you come to this call and all this, and then enter your password that you've fished so far, which
is L-I-L-2-2-8-1, 2-2-8-1.
But the eighth and ninth we don't know.
So we just put 8, 9 over here.
Hit Enter, and then continue to step over until we come to this line.
And then we step into this, click again.
And then here we right-click and graph.
Now we trace it.
Okay.
This is the first password.
First character, L.
Then followed by I.
Click on this, followed by L again.
Click on this, followed by 2.
Next loop.
Come up here.
Followed by 2 again.
So we are here now.
2, 2.
Next one should be 8.
So let's go and see.
Click on this.
Yes.
It's 8.
Next one should be.
1.
So let's continue to go straight.
Let's click on this.
Yes, is 1.
So now what's the next one.
The eighth character.
What is it.
Let's continue.
Click on this.
The eighth character is 3, but we entered 8, so we entered 8.
As you can see here.
So the eighth character is supposed to be 3.
So we fished it out.
So let's continue.
It goes here because we did not enter 3.
It goes here.
And it's going to return another bad value, which is negative 1.
And let's restart and run to our main again.
Continue to step over until we come to this call.
Step over this call.
And now we enter the eight characters that we have successfully fished out, which is L-I-L-
2-2-8-1-3, L-I-L-2-2-8-1-3.
But we don't know the ninth character and the tenth and the eleventh and the twelfth and the thirteenth and the
fourteenth and the
fifteenth.
So the remainder ones.
We just put 9.
A, B, C. ABC is actually the hexadecimal for 10, 11, 12.
So we just put 9, A, B, C, hit Enter, and now we are back here.
Continue to step over until we come to this line.
We step into this line, click again, right-click.
And then here, graph it, trace it.
First character.
L.
Second character, I.
Third character, L again.
Fourth character, 2.
Loop on top.
Click on this. Fifth character, 2.
So we are now here.
Fifth character, which is 2.
This is the sixth character, which is 8.
So we are here at the sixth character.
Click on this.
This is the seventh character, which is 1.
This is your seventh character.
Click on this.
This is your eighth character, which is 3.
And now we want the ninth character.
So let's continue to step over.
Go to the third loop.
Come here.
Step over.
And this is your ninth character.
Click on this and you can see it is 3.
So it is another 3 here. Okay.
So far we have got L-I-L-2-2-8-1-3-3. Okay.
That's great.
So let's continue to step over.
And he's come over here, and he's going to return a bad value for -, which is negative 1.
Okay.
So if we solve this one, we will continue in the next lesson where we continue with the tenth character
and so on.
See you in the next lesson.