News for hackers. Stuff that matters.
Re:Hacking GTA V RP Servers Using Web Exploitation Techniques by Jerrrry on Tuesday August 29, 2023 @11:03PM (#37317156)
yea, i meant CSP.

>so few JavaScript libraries are compatible with it.

is this because of the 'eval' function specifically, or is there other reasons?

Re:Hacking GTA V RP Servers Using Web Exploitation Techniques by mtlynch on Wednesday August 30, 2023 @07:09AM (#37320245)
Yeah, eval is the main culprit, but there's also Function, setTimeout, setInterval and friends.[0]

The other gotcha is that with a secure CSP policy, you can no longer do things like <button onclick="handleClick"> because that's inline JS, so that's kind of a bummer.

[0] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...