3 ms·
Wouldn't it be possible to deny any scripts that looked like that? I know that it must obviously be legal Javascript, but if it's formatted like one blob of tex
by adsr 15y ago
Wouldn't it be possible to deny any scripts that looked like that? I know that it must obviously be legal Javascript, but if it's formatted like one blob of text, deny. This might be a too naive approach to work, I'm mostly raising the question out of curiosity, is it possible to spot obfuscation programmatically.
- andfarm 15y agoHarmless Javascript minification can be difficult to distinguish from intentional obfuscation. Packer in base62 mode (http://dean.edwards.name/packer/ http://dean.edwards.name/packer/) is a good example.
- adsr 15y agoInteresting, but what purpose does that serve? Wouldn't it be possible to formulate a rule for an organization, where you deny this as well.