Mayayana
2015-08-29 14:44:56 UTC
I've been working on a fun project lately that
I though people might find useful. Maybe there
will also be comments or suggestions:
http://www.jsware.net/jsware/scrfiles.php5#jsdeob
It's an HTA. I've been finding that webpage code
increasingly uses very bloated and obfuscated JS
to create the page. In some cases I've even found
JSON, embedded in script, which in turns embeds
the HTML of the page! In some cases the idea seems
to be to force people to enable script. In other cases
it seems to be to either hide or protect the code.
In any case, I wanted to be able to dump the
obfuscated script into a window and clean it up.
The result is at the link above. It starts with an
OSS script to format, then uses my own VBS to
further clean up the code and add color syntax
highlighting.
I though people might find useful. Maybe there
will also be comments or suggestions:
http://www.jsware.net/jsware/scrfiles.php5#jsdeob
It's an HTA. I've been finding that webpage code
increasingly uses very bloated and obfuscated JS
to create the page. In some cases I've even found
JSON, embedded in script, which in turns embeds
the HTML of the page! In some cases the idea seems
to be to force people to enable script. In other cases
it seems to be to either hide or protect the code.
In any case, I wanted to be able to dump the
obfuscated script into a window and clean it up.
The result is at the link above. It starts with an
OSS script to format, then uses my own VBS to
further clean up the code and add color syntax
highlighting.