9 Months of Service
98%
Alright, I had too much to drink at lunch today so heres how to make a python keylogger.
First i'm going to assume that this would be used in something like a rubbery ducky attack, so we're going to keep it small so it can be downloaded from somewhere remotely or smthing.
OKay now the script:
to make it easy we'll just use the pynput library
This is is the basic idea of it, hopefully it is easy to see
But we actually want to log the keys so lets do that
Now we write all the individual key strokes to a file.
But this is still very very very shid sooooo..........
Now were gooing to send a post request to a c2 or whatever you want, you could use a discord webhook or something better...
First i'm going to assume that this would be used in something like a rubbery ducky attack, so we're going to keep it small so it can be downloaded from somewhere remotely or smthing.
OKay now the script:
to make it easy we'll just use the pynput library
To see this hidden content, you must react with one of the following reactions :
Like,
Love


This is is the basic idea of it, hopefully it is easy to see
But we actually want to log the keys so lets do that
To see this hidden content, you must react with one of the following reactions :
Like,
Love


Now we write all the individual key strokes to a file.
But this is still very very very shid sooooo..........
To see this hidden content, you must react with one of the following reactions :
Like,
Love


Now were gooing to send a post request to a c2 or whatever you want, you could use a discord webhook or something better...
Last edited by a moderator: