Hello and welcome to this lecture in this lecture.
Will this make Gallagher with the eyes of a script.
So we have already seen about the killer over how to make it with the help of Python.
It was quite easy and interesting while making the key logger in the zombie skewed.
But now we have a little learn the basics of JavaScript now we can just make our own Gila over with
the help of JavaScript and you'll see how easy it is to make key logger with the help of java script.
But you know that JavaScript is not enough to make the key logger because we have to make use of a server
side language's like a PSP which will this get the keystroke for us and it will write the keystroke
to the file.
So javascript will be responsible to this scores the function which is on key press function which will
be called when the user will press any key from the keyboard and basically PSP will be helpful.
Which is basically server side language's it to this name are basically the source for key name of that
field in the website element.
And based on that it will just paste the keystroke on the file that will create.
So basically we'll just open the file in just right to the file with the help of PSP and with the help
of java script.
Will this make a function to be called when the user will press any key from the keyboard.
So first of all we'll see about the killer.
We have already studied how the key logger works in the previous couple of examples but let's give a
quick revision.
What is the key logger.
So killer is a type of software that once active on a system has the capability to record every keystroke
made by the system.
That means it will just record every keystroke that is submitted by the user all the recorded keystroke
is saved in the log file.
Will this create our own log file with the help of PSP.
So in this open that file in the append mode and it will just write to that file with the help of PSP
and a key logger can record a masses email and it can also capture any type of information you type
at the time using your keyboard.
So we'll just set some interval to this key logger to work.
And based on that interval it's in this regard the key stroke that is made by the user in the system.
So we have the lab environment over here.
We'll be using operating system that is we understand testing which side is basically the website which
will be copy of this to be a speed variable anyway.
Dot com which is our test environment and the web server will be damp.
We'll make use of text editor which is our sublime text editor to make use of javascript code and we'll
also write our own PSP code with this environment which just text editor Sublime Text to do so we'll
just make one estimate file which will be testing website and we'll also make our javascript code which
will record and which will basically have the event which will be called because we know about the events
we have already learned about the events in the previous examples in the previous basic section of the
example script and we have learned many events on that.
We'll just make use of on key.
This event was in this record.
The key stroke that is made by the user in the keyboard and it will distract that and it will just send
this to the its raw file which is this right.
That keystroke to the file and into the spring does that file and that will just see the file and we'll
see how this scalar works in the next example.
So see you in the next one.