3 ms·
Why would they fetch --script from CSS instead of getting the information from the DOM and sending it to their serves straight away if the can already put a JS
by mrtksn 6y ago
Why would they fetch --script from CSS instead of getting the information from the DOM and sending it to their serves straight away if the can already put a JS on the page that gets executed?
- ryanlol 6y agoThis is an obfuscation technique, it’s not supposed to make sense.
- mrtksn 6y agoOh O.K, so it's not a CSS hack. I thought it's something smarter like exploiting a JS pattern to trick it to run JS from CSS. So, the hackers need to have access both to CSS and HTML to put the malicious JS that looks innocent in the HTML and load the malicious JS from the CSS. Now it makes sense, thanks.