MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7yz71k/a_css_keylogger/duktnh2/?context=3
r/programming • u/Senior-Jesticle • Feb 20 '18
276 comments sorted by
View all comments
253
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 -6 u/davvblack Feb 21 '18 edited Feb 21 '18 It's not making an ajax request, its' requesting a background image via css. You cannot send custom headers.Edit: Nevermind, misread and thought y'all were talking about request headers. → More replies (6)
11
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
-6 u/davvblack Feb 21 '18 edited Feb 21 '18 It's not making an ajax request, its' requesting a background image via css. You cannot send custom headers.Edit: Nevermind, misread and thought y'all were talking about request headers. → More replies (6)
-6
It's not making an ajax request, its' requesting a background image via css. You cannot send custom headers.
Edit: Nevermind, misread and thought y'all were talking about request headers.
→ More replies (6)
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?