JASSDO tool - deobfuscator
Posted: May 22nd, 2008, 1:08 pm
I got confused over where to post it since I couldn't find tool section, so I post it here. Mod, feel free to move it.
This tool de-obfuscates JASS code in case your deprotector didn't do it or didn't do it well enough. I tested it with both .j files and .wts files recovered with xdep.
Features (all features can be turned off in .ini file):
Indents lines, inserts blank lines between functions.
Renames globals, locals and functions (xdep only renames globals).
Restores integers obfuscated as hexadecimals or characters (e.g. 'd' is restored as 100), bypasses simple arithmetic operations with constants (e.g. 123+877 is restored as 1000) and restores unit/item/etc IDs after that (so if protector converted 'U000' to 135436526+1293784898 the original ID will get recovered).
Extracts strings from WTS.
Prints function definitions and their line numbers to another file.
Inlines short functions (mostly generated by GUI)
Does not bug up when it finds a linebreak inside string constant (xdep stops indenting lines in this case).
.zip file contains .exe console application and .ini config file.
All input/output files are defined in .ini
http://www.mediafire.com/?1yypxxwmcd3
This tool de-obfuscates JASS code in case your deprotector didn't do it or didn't do it well enough. I tested it with both .j files and .wts files recovered with xdep.
Features (all features can be turned off in .ini file):
Indents lines, inserts blank lines between functions.
Renames globals, locals and functions (xdep only renames globals).
Restores integers obfuscated as hexadecimals or characters (e.g. 'd' is restored as 100), bypasses simple arithmetic operations with constants (e.g. 123+877 is restored as 1000) and restores unit/item/etc IDs after that (so if protector converted 'U000' to 135436526+1293784898 the original ID will get recovered).
Extracts strings from WTS.
Prints function definitions and their line numbers to another file.
Inlines short functions (mostly generated by GUI)
Does not bug up when it finds a linebreak inside string constant (xdep stops indenting lines in this case).
.zip file contains .exe console application and .ini config file.
All input/output files are defined in .ini
http://www.mediafire.com/?1yypxxwmcd3