r/programming • • Feb 20 '18

A CSS Keylogger

https://github.com/maxchehab/CSS-Keylogging
2.0k Upvotes

276 comments sorted by

View all comments

Show parent comments

3

u/nemec Feb 21 '18

It can only happen if you allow untrusted CSS on your website

So, like, subreddit styles?

7

u/meneldal2 Feb 21 '18

As another comment mentions, you can't do it with reddit because it can only load images hosted on reddit servers.

-3

u/bubuopapa Feb 21 '18

Well, even if reddit would allow to do otherwise, it would not be a problem, because reddit accounts doesnt matter. If banks or other important places would do that, then it would be really bad for us, and those places would get fucked too, at least by me.

So, unless you can hack into other servers and put your malicious code on their websites, this is only a neat trick, because many places already know your password on their website, because it is stored as plain text.

4

u/TimmyTesticles Feb 21 '18
  • reddit accounts do matter, hence there being a password in the first place.

  • it's shitty of you to say that you would steal money from me if you could.

  • It's not the people running the website stealing your password, it's a 3rd party that doesn't have access to the DB but can somehow inject css which is common.

→ More replies (4)