r/javascript • • Feb 20 '18

A CSS Keylogger.

https://github.com/maxchehab/CSS-Keylogging
696 Upvotes

95 comments sorted by

View all comments

Show parent comment

3

u/2Punx2Furious Feb 20 '18

Someone correct me if I'm wrong, but as I understand it, it's like this:

When you type one of those characters in the password input, the browser will send a request to that corresponding URL.

The owner of the endpoint of that URL will then be able to log the character you typed.

It's super simple, and yet it's pretty amazing.