PerimeterX / restringer

A Javascript Deobfuscator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File output doen't work (as expected)

Davincible opened this issue · comments

Currently the only way to write to file is with only -o, to use the default output name. -o myfile.js --output myfile.js --output=myfile.js doesn't work.

Also the initial .js suffix remains in the default file name

I didn't write the = usability when parsing the arguments - I'll add it, thanks for pointing it out :)
Keeping the initial .js extension is actually how I would like it to be as it keeps the original and deobfuscated version grouped in a GUI and helps when running shell scripts that use the original filename so there's no need to replace the extension.

there's no need to replace the extension

I mean that now the output file is webmssdk.js-deob.js, I assumed it would've been webmssdk-deob.js. But if it's intentional all good.