1
00:00:00,720 --> 00:00:07,410
So I think it's going to be the key logger, as you know, the key logger will record the keystrokes

2
00:00:07,410 --> 00:00:10,690
the user has pressed and log into the file.

3
00:00:10,710 --> 00:00:11,890
Are you going to email?

4
00:00:12,720 --> 00:00:14,870
So this is the basic purpose of the key logger.

5
00:00:15,030 --> 00:00:18,920
So you need to import the module corporate input.

6
00:00:19,620 --> 00:00:23,520
So this is by input, not input.

7
00:00:26,370 --> 00:00:29,370
And we need to finish this module using this pipe.

8
00:00:31,550 --> 00:00:39,860
So people start by and book and I have already started sweating because it already started, so we just

9
00:00:40,190 --> 00:00:40,790
this using this.

10
00:00:43,140 --> 00:00:54,900
And you need to import two functions, that is a by and large, that is from buying the keyboard and

11
00:00:54,970 --> 00:00:57,420
need to say import, let's start.

12
00:01:00,260 --> 00:01:08,000
Now, before going into this, I want to show you one thing that is we can open this file as a statement

13
00:01:08,000 --> 00:01:11,950
also with the opening of September.

14
00:01:15,140 --> 00:01:25,970
And in the more Apple and as you have to consider the current and you can say it's not so just another

15
00:01:25,970 --> 00:01:31,750
way of opening the files, what this, uh, makes little differences of you.

16
00:01:31,750 --> 00:01:38,850
No need to worry about disclosing the file disk operator automatically when you have accepted this with

17
00:01:38,850 --> 00:01:39,860
the loop.

18
00:01:39,950 --> 00:01:47,660
But I should not do so with a statement issued this if that growth will be automatically performed so

19
00:01:47,660 --> 00:01:50,370
that you got this with the operator.

20
00:01:51,860 --> 00:01:55,220
So in the same way we can say with.

21
00:01:57,540 --> 00:02:04,260
With DNA, the result is not a function in this, uh uh, by computer keyboard.

22
00:02:09,310 --> 00:02:15,810
Not even to say he's on the press, so whenever there is a key press on the keyboard and it will execute

23
00:02:15,810 --> 00:02:20,540
the function that separates, and there is another thing that is underneath.

24
00:02:20,560 --> 00:02:25,000
So when you press the key, you should release that, right.

25
00:02:25,020 --> 00:02:30,000
So underneath it all, I declare this function that is the result.

26
00:02:30,150 --> 00:02:33,330
You can also name whatever you want in this president.

27
00:02:34,590 --> 00:02:39,150
So you need to open his cell and to a large joint.

28
00:02:39,180 --> 00:02:44,970
So this is will create the thread and this district gets started and run.

29
00:02:44,990 --> 00:02:46,540
This is another function.

30
00:02:46,770 --> 00:02:49,050
So this result will go on resiting.

31
00:02:49,290 --> 00:02:53,360
And whenever there is a key piece on the key, what this function will be executed.

32
00:02:53,550 --> 00:02:55,470
So we need to define these functions.

33
00:02:55,980 --> 00:02:57,620
Live presser.

34
00:02:58,860 --> 00:03:06,540
And the argument is this residual function was the key that we have the key object to this particular

35
00:03:06,660 --> 00:03:11,490
function that is key and we can just print off key.

36
00:03:13,410 --> 00:03:20,760
And similarly, we're on the list, so if you have the space key on the list, if you want to use some

37
00:03:20,760 --> 00:03:21,690
code, you can execute.

38
00:03:26,240 --> 00:03:27,330
On the list of key.

39
00:03:30,580 --> 00:03:38,380
So let me just say for now, I think we should we are good to go in order to execute this one.

40
00:03:45,240 --> 00:03:53,940
By and right, sorry for not my daughter has been running and whatever I type in the key, you are going

41
00:03:53,940 --> 00:03:54,620
to print this.

42
00:03:55,350 --> 00:03:58,200
You can see the random keys I'm just printing.

43
00:03:58,800 --> 00:04:03,920
So you can see these are the keys I'm predicting and we are got the output.

44
00:04:05,160 --> 00:04:15,270
So now what I want to do is I want to say, if Ketut, uh, if I pursued the key escape and there it

45
00:04:15,270 --> 00:04:17,940
is the escape, then I should exit this function.

46
00:04:18,450 --> 00:04:25,100
So if he is equal is equal to and capital key dot Iasi.

47
00:04:25,560 --> 00:04:25,800
Yes.

48
00:04:26,190 --> 00:04:26,850
For a skip.

49
00:04:26,850 --> 00:04:28,470
And you need to do this.

50
00:04:28,980 --> 00:04:30,840
Uh you need to return for us.

51
00:04:35,950 --> 00:04:44,110
So they're just sending the files to this variable, so on, uh, this is not a function on seeing this

52
00:04:44,440 --> 00:04:51,950
files, it will stop, uh, listening servers, run this to get you more understanding.

53
00:04:52,180 --> 00:04:57,960
So I have people who are these, uh, letters when President Skip it has.

54
00:04:58,420 --> 00:05:03,190
So I'm just content to present this when I release this on my program.

55
00:05:04,600 --> 00:05:07,320
So this is just an ID to the program.

56
00:05:14,070 --> 00:05:17,910
So now what we're going to do is we are going to read this content to file.

57
00:05:19,680 --> 00:05:23,290
Uh, let's say a physical go into this territory.

58
00:05:23,460 --> 00:05:35,580
So this is assembled at a physical to open off some people not and I'm going to write it in because

59
00:05:35,580 --> 00:05:39,600
we maybe the the text contains some other key strokes.

60
00:05:39,610 --> 00:05:48,360
So we need to open them to the text so we can just say, oh, you should of printing.

61
00:05:48,360 --> 00:05:51,690
We can say that right off key.

62
00:05:53,220 --> 00:05:56,310
And here we can say of Ducros.

63
00:06:00,290 --> 00:06:07,340
I think that the squad works, so it's going to run out program and it's Nikil.

64
00:06:10,630 --> 00:06:12,970
Sorry for this weekend, the suggestion.

65
00:06:15,510 --> 00:06:24,060
So, no, we need to facilities that key douching not as good and run this to.

66
00:06:27,970 --> 00:06:28,570
Etc.

67
00:06:31,760 --> 00:06:40,960
Now, my are the keys are have been returned to this file and let's see if we can see all of the keys

68
00:06:40,960 --> 00:06:45,460
here, Michael and you exit or some other keys I have just randomly.

69
00:06:45,820 --> 00:06:52,720
So this is a basic Raegan right in the python, and you're going to execute, uh, under Domitian.

70
00:06:54,280 --> 00:06:55,290
So now what are going to do?

71
00:06:55,480 --> 00:07:01,110
We are going to include this email Bohmer email code, which you have seen in the previous video.

72
00:07:04,690 --> 00:07:11,370
All right, now, what we want to do is we are going to copy these two modules and paste it in here,

73
00:07:12,400 --> 00:07:16,290
so we are just logging into this and shot this message.

74
00:07:16,300 --> 00:07:19,840
I'm going to send the file contents to this one.

75
00:07:21,760 --> 00:07:24,850
Script, copy and paste, you can hear.

76
00:07:28,180 --> 00:07:37,120
So I'm creating the main object, starting business and logging in and sending out this message, I

77
00:07:37,120 --> 00:07:38,210
will send this message.

78
00:07:39,490 --> 00:07:41,390
So let me go to my e-mail.

79
00:07:41,510 --> 00:07:46,330
I attended the password after that e-mail Bombadier.

80
00:07:49,050 --> 00:07:50,190
So that means.

81
00:07:52,970 --> 00:07:55,320
Since the state saw.

82
00:07:58,270 --> 00:08:00,300
So Reagan's dirty war.

83
00:08:03,350 --> 00:08:07,420
So this is the one with this one.

84
00:08:07,560 --> 00:08:09,170
OK, we have successfully covid.

85
00:08:11,220 --> 00:08:13,590
And let me change the password to this one.

86
00:08:14,610 --> 00:08:23,700
All right, now we need to open this file again because we have closed this file descriptor here.

87
00:08:23,700 --> 00:08:36,090
And I just share in the rumor because you don't want to edit those contacts and messages close to your

88
00:08:36,300 --> 00:08:37,250
heart rate.

89
00:08:38,730 --> 00:08:41,360
And I can say you have not close afterwards.

90
00:08:42,580 --> 00:08:48,440
Now, my message will be, are the keystrokes I'm getting from the hackers wanted you to take out so

91
00:08:48,480 --> 00:08:49,590
that we are not on this?

92
00:08:51,780 --> 00:08:59,280
All right, let me clear up the contents of this, just to make sure only this output has been going

93
00:08:59,280 --> 00:09:08,250
into the mail and the script that certainly is good by.

94
00:09:10,440 --> 00:09:12,060
And some random keys.

95
00:09:19,320 --> 00:09:24,270
So my script has been successfully done now that if you get an email or not.

96
00:09:32,490 --> 00:09:41,820
So I think I have brought this right, spam, and then we go, we have got the keys that we have stored

97
00:09:41,820 --> 00:09:42,720
in that picture for.

98
00:09:44,790 --> 00:09:47,520
So that's all for this, basically, Robert.

99
00:09:47,580 --> 00:09:55,320
Guys, I hope you have understood, so we are just creating this listener and whenever there is a key

100
00:09:55,320 --> 00:10:00,530
piece, we are executing this function and you're storing it in the file, then we are closing the file.

101
00:10:00,900 --> 00:10:08,010
And after this is another, we are going to create the just shrugging in why are these made of gold?

102
00:10:08,010 --> 00:10:12,310
And then we're reading the sample text for contents and then we are closing it.

103
00:10:13,350 --> 00:10:20,250
So one thing you can do is you can create of this contents after this sending the mail.

104
00:10:20,400 --> 00:10:28,040
That's so if you got the contents of these contents, you don't need to get it again.

105
00:10:28,050 --> 00:10:39,180
So that's why you can just delete the contents so you can see the value plus and you've got a very tough.

106
00:10:44,920 --> 00:10:46,620
So I think this will work great.

107
00:10:47,260 --> 00:10:51,430
So let me go ahead and corral this contentious.

108
00:10:53,000 --> 00:10:56,810
Let me say this and that, let's put this group together.

109
00:11:13,250 --> 00:11:14,380
So let's see.

110
00:11:14,420 --> 00:11:22,920
So there are no contents in the sand because we have all written or written with this empty, empty

111
00:11:22,940 --> 00:11:23,220
shell.

112
00:11:25,930 --> 00:11:27,760
So we have got them issuing.

113
00:11:33,060 --> 00:11:36,660
Why did we get the impression that this message.

114
00:11:46,690 --> 00:11:48,640
Let's go and ask again.

115
00:11:59,150 --> 00:12:02,060
So there are maybe there is deep

116
00:12:04,850 --> 00:12:13,610
and deep message, just greed, so let's not worry about the clearing, the contents.

117
00:12:18,920 --> 00:12:25,730
So that's sort of the basic with this, Kyra, you can just check the previous malcontents to see what

118
00:12:25,730 --> 00:12:28,090
are the common keystrokes.

119
00:12:29,120 --> 00:12:30,340
So the tough ones you do.

120
00:12:30,350 --> 00:12:32,180
I hope you understood this krca.

