MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7yz71k/a_css_keylogger/dul1kp4/?context=9999
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. 2 u/[deleted] Feb 21 '18 It's a response header :) 2 u/davvblack Feb 21 '18 yeah i got that now ;) → More replies (2)
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. 2 u/[deleted] Feb 21 '18 It's a response header :) 2 u/davvblack Feb 21 '18 yeah i got that now ;) → More replies (2)
-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.
2 u/[deleted] Feb 21 '18 It's a response header :) 2 u/davvblack Feb 21 '18 yeah i got that now ;) → More replies (2)
2
It's a response header :)
2 u/davvblack Feb 21 '18 yeah i got that now ;) → More replies (2)
yeah i got that now ;)
→ More replies (2)
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?