AngeloD2022 / jsxer

Jsxer is a fast and accurate decompiler for Adobe ExtendScript Binary (JSXBIN) files, featuring JSXBlind deobfuscation.
GNU General Public License v3.0
157 stars 25 forks source link

What's problem with this JSXBIN? #54

Closed mendax47 closed 1 year ago

mendax47 commented 1 year ago

i have recently came across a JSXBIN when you try to decompile it it succesfully decompile but can't recompile with extended script it says illigal use of word "default" and also say illigal use of word "static"

AngeloD2022 commented 1 year ago

Could you please send me the script in question?

mendax47 commented 1 year ago

lol.txt

rename -> txt -> jsxbin

AngeloD2022 commented 1 year ago

The script you sent me somehow uses two reserved keywords in javascript: static (non-access modifier) and default (switch-case keyword) as member names in an object. While I don't know how they were compiled that way, I suggest refactoring the script so that they have a different name. This is otherwise not a decompiler problem, so I'll close this issue.