Skip to content

Expected node path of type Expression #5

@ghost

Description

Hello!
I'm not JS fan, but I need to deobfuscate a large file for analysis.
I installed IlluminateJS. Everything works for small and not complicated files.
But when I try this file: obfuscated.js.txt

I got this stack trace:

TypeError: obfuscated.js: Expected node path of type Expression
    at NodePath.<computed> [as assertExpression] (/usr/lib/node_modules/babel-cli/node_modules/babel-traverse/lib/path/index.js:213:13)
    at Object.evaluateExpression (/root/illuminatejs/babel-plugin-deobfuscate/lib/expressions.js:30:10)
    at evaluateInit (/root/illuminatejs/babel-plugin-deobfuscate/lib/identifiers.js:76:26)
    at evaluate (/root/illuminatejs/babel-plugin-deobfuscate/lib/identifiers.js:19:20)
    at Object.evaluateExpression (/root/illuminatejs/babel-plugin-deobfuscate/lib/expressions.js:32:12)
    at evaluate (/root/illuminatejs/babel-plugin-deobfuscate/lib/binary-expressions.js:13:31)
    at Object.evaluateExpression (/root/illuminatejs/babel-plugin-deobfuscate/lib/expressions.js:32:12)
    at evaluate (/root/illuminatejs/babel-plugin-deobfuscate/lib/binary-expressions.js:10:30)
    at evaluateExpression (/root/illuminatejs/babel-plugin-deobfuscate/lib/expressions.js:32:12)
    at PluginPass.deobfuscateExpression (/root/illuminatejs/babel-plugin-deobfuscate/lib/expressions.js:20:18)

I'm using Debian 9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions