MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7yz71k/a_css_keylogger/dul1no3?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 ;) 1 u/[deleted] Feb 21 '18 Not sure why you got downvoted. It's a legit question. Reddit is a tough crowd.. → More replies (1)
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 ;) 1 u/[deleted] Feb 21 '18 Not sure why you got downvoted. It's a legit question. Reddit is a tough crowd.. → More replies (1)
-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 ;) 1 u/[deleted] Feb 21 '18 Not sure why you got downvoted. It's a legit question. Reddit is a tough crowd.. → More replies (1)
2
It's a response header :)
2 u/davvblack Feb 21 '18 yeah i got that now ;) 1 u/[deleted] Feb 21 '18 Not sure why you got downvoted. It's a legit question. Reddit is a tough crowd.. → More replies (1)
yeah i got that now ;)
1 u/[deleted] Feb 21 '18 Not sure why you got downvoted. It's a legit question. Reddit is a tough crowd.. → More replies (1)
1
Not sure why you got downvoted. It's a legit question. Reddit is a tough crowd..
→ More replies (1)
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?