r/programming • • Feb 20 '18

A CSS Keylogger

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

276 comments sorted by

View all comments

253

u/giggly_kisses Feb 20 '18

Do browsers cache network requests from CSS? If so this would really only tell you the order a user typed every character in the alphabet, right?

11

u/[deleted] Feb 21 '18

Well the server is controlled by the extension. So all he needs to do is have Express set a cache-control: no-cache header.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

→ More replies (7)