ben-sb / obfuscator-io-deobfuscator

A deobfuscator for scripts obfuscated by Obfuscator.io
https://obf-io.deobfuscate.io
Apache License 2.0
275 stars 61 forks source link

Error while running in nodejs #8

Closed vermill closed 6 months ago

vermill commented 7 months ago

Error: TypeError: Cannot read property 'parseExpression' of undefined

Console:

[2023-11-12T18:08:40.128Z]: Starting pass 1
[2023-11-12T18:08:40.129Z]: Executing UnusedVariableRemover
[2023-11-12T18:08:40.256Z]: Executed UnusedVariableRemover, modified true
[2023-11-12T18:08:40.256Z]: Executing ConstantPropgator
[2023-11-12T18:08:40.339Z]: Executed ConstantPropgator, modified false
[2023-11-12T18:08:40.339Z]: Executing ReassignmentRemover
[2023-11-12T18:08:40.434Z]: Executed ReassignmentRemover, modified true
[2023-11-12T18:08:40.434Z]: Executing DeadBranchRemover
[2023-11-12T18:08:40.498Z]: Executed DeadBranchRemover, modified false
[2023-11-12T18:08:40.498Z]: Executing ObjectPacker
[2023-11-12T18:08:40.576Z]: Executed ObjectPacker, modified true
[2023-11-12T18:08:40.576Z]: Executing ProxyFunctionInliner
Error: TypeError: Cannot read property 'parseExpression' of undefined
[2023-11-12T18:08:40.638Z]: Executed ProxyFunctionInliner, modified false
[2023-11-12T18:08:40.638Z]: Executing ExpressionSimplifier
[2023-11-12T18:08:40.742Z]: Executed ExpressionSimplifier, modified true
[2023-11-12T18:08:40.743Z]: Executing SequenceSplitter
[2023-11-12T18:08:40.773Z]: Executed SequenceSplitter, modified true
[2023-11-12T18:08:40.773Z]: Executing ControlFlowRecoverer
[2023-11-12T18:08:40.803Z]: Executed ControlFlowRecoverer, modified false
[2023-11-12T18:08:40.803Z]: Executing PropertySimplifier
[2023-11-12T18:08:40.869Z]: Executed PropertySimplifier, modified true
[2023-11-12T18:08:40.869Z]: Executing ObjectSimplifier
[2023-11-12T18:08:40.901Z]: Executed ObjectSimplifier, modified false
[2023-11-12T18:08:40.901Z]: Executing StringRevealer
[2023-11-12T18:08:40.986Z]: Executed StringRevealer, modified true
...

Also when I deobfuscate a script on the website the output is 400 lines but when I use it in nodejs the output is 3000 lines and not fully deobfuscated.

ben-sb commented 7 months ago

Can you upload your script to pastebin so I can take a look