1 00:00:00,360 --> 00:00:01,740 Hello and welcome. 2 00:00:02,160 --> 00:00:09,150 So in the previous lesson, we already use dynamic analysis to confirm what we found in the static analysis 3 00:00:09,570 --> 00:00:16,000 and we and also we managed to fish up the algorithm and confirm it using dynamic analysis. 4 00:00:16,740 --> 00:00:20,580 So now we are going to create Guijin using Python. 5 00:00:20,940 --> 00:00:27,540 And you can go to this online python compiler or any others, quite a number of them. 6 00:00:27,990 --> 00:00:29,180 And Kinescope. 7 00:00:30,100 --> 00:00:37,390 You can download this from the resource section, you had to type all this in, so let me explain what 8 00:00:37,390 --> 00:00:37,910 I did here. 9 00:00:38,530 --> 00:00:43,090 So the first line is to import time on you, as did. 10 00:00:44,350 --> 00:00:50,810 The second line is to ask the user to enter the name so you save it in the variable name. 11 00:00:52,000 --> 00:01:02,450 This line, who now is the current debt and saving a variable X and then this tree line is just a straight 12 00:01:02,890 --> 00:01:06,310 and show the year, the month and a day. 13 00:01:07,060 --> 00:01:11,680 And you can actually in if you do doing this important one is line 14. 14 00:01:12,430 --> 00:01:20,010 Line 14 is where we use a form specify which we up from analysis over here. 15 00:01:20,350 --> 00:01:28,650 This is a form specify it and then we reconstruct this Iraqi based on if I may specify. 16 00:01:29,470 --> 00:01:38,470 So here the first form I specify X will be a name because we already confirm during our debugging dynamic 17 00:01:38,590 --> 00:01:49,900 analysis that differs from specify e a name and then your second one is your year plus one, two, three, 18 00:01:49,900 --> 00:01:52,560 four, which coming from here. 19 00:01:52,570 --> 00:01:57,550 The second one is your year plus one, two, three, four. 20 00:01:59,830 --> 00:02:02,870 And then the third one is your money. 21 00:02:03,580 --> 00:02:08,440 So for money, I, Stutman for you is here, plus one, two, three, four. 22 00:02:09,590 --> 00:02:15,080 And the last one would be your day, so the day will be extended. 23 00:02:15,980 --> 00:02:16,340 All right. 24 00:02:16,350 --> 00:02:17,450 So we can it now. 25 00:02:19,710 --> 00:02:20,760 We can stop this. 26 00:02:24,400 --> 00:02:30,370 And come here and run our economy five. 27 00:02:35,630 --> 00:02:40,540 OK, so now you are going to enter a name secret. 28 00:02:42,320 --> 00:02:44,040 So what do you think will be this year? 29 00:02:44,090 --> 00:02:44,420 Key? 30 00:02:46,280 --> 00:02:48,290 All right, we can use our Keagan. 31 00:02:50,040 --> 00:02:56,850 So let's come back to al Qaeda and he asked for the name he entered 32 00:02:59,370 --> 00:03:09,110 into and you can see the KIGEN has generated Shiraki as three to five, five, six on it. 33 00:03:10,190 --> 00:03:19,710 So let's try to correct three, two, five, five, six on the crack, the three, two, five, five, 34 00:03:19,730 --> 00:03:21,200 six, one, eight. 35 00:03:23,310 --> 00:03:31,260 Well done, so our kitchen looks OK, so in this lesson, we've already learned how to do static analysis 36 00:03:31,470 --> 00:03:41,550 to analyze the algorithm and put in our relabelling of the variable names that we suspect to be the 37 00:03:41,550 --> 00:03:44,570 correct variables for Niemans here. 38 00:03:44,970 --> 00:03:52,080 And then we also analyzed the construction of the zero key and we only had suspicions. 39 00:03:52,530 --> 00:03:56,430 And then we use dynamic analysis to confirm how hypotheses. 40 00:03:56,880 --> 00:04:03,730 In the end, you confirm that he works and then we went on to create KIGEN using Python. 41 00:04:04,380 --> 00:04:07,880 So I hope this was instructive. 42 00:04:08,340 --> 00:04:13,800 So go ahead and try this now and you can see the output here two to one. 43 00:04:14,100 --> 00:04:24,930 He's coming from the year after year six is your month, which is June, month 18 is Xactly and then 44 00:04:24,930 --> 00:04:32,160 here last one is he promised specify combining all the above to create Yoshiaki. 45 00:04:32,670 --> 00:04:34,290 So that's all for this lesson. 46 00:04:34,870 --> 00:04:36,660 Thank you for watching.