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

96

u/Senior-Jesticle Feb 20 '18

Correct! But there are other attribute selectors. For example [input*=value] checks if input contains value. Although this would not show the order of the password, it would reveal its contents.

0

u/[deleted] Feb 20 '18

[deleted]

0

u/[deleted] Feb 20 '18

[deleted]

5

u/JavierTheNormal Feb 21 '18

Maybe, but it's counterproductive. The number of keystrokes required to enter unicode characters is more than the value they provide, you'd be better off just making a longer password with normal characters.

Many sites still won't allow ' or even spaces in passwords, so nothing is universal.

5

u/MCBeathoven Feb 21 '18

Eh, the US international keyboard allows you to type loads of non-ASCII characters with single keystrokes.

→ More replies (5)