Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caught an error while attempting to run AST visitor! (err = Error: Push/shift calculation failed (iter=1>maxLoops=0) #42

Open
ghost opened this issue Oct 30, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 30, 2022

NPM ver 8.15.0 -- default settings

Obfuscated file: https://hastebin.com/badohufoki.apache

Output:

Running Simplify transformer
Running MemberExpressionCleaner transformer
Running LiteralMap transformer
Running DeadCode transformer
Running Demangle transformer
Running StringDecoder transformer
Caught an error while attempting to run AST visitor!

node = Node {
  type: 'ExpressionStatement',
  start: 8589,
  end: 10316,
  range: [ 8589, 10316 ],
  expression: Node {
    type: 'CallExpression',
    start: 8590,
    end: 10314,
    range: [ 8590, 10314 ],
    callee: Node {
      type: 'FunctionExpression',
      start: 8590,
      end: 10297,
      range: [Array],
      id: null,
      expression: false,
      generator: false,
      async: false,
      params: [Array],
      body: [Node]
    },
    arguments: [ [Node], [Node] ],
    optional: false
  }
}
err = Error: Push/shift calculation failed (iter=1>maxLoops=0)
    at n (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:28:19527)
    at ExpressionStatement (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:28:20577)
    at s (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:25:147)
    at Object.skipThrough (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\acorn-walk\dist\walk.js:186:39)
    at s (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:25:133)
    at Object.base.Program.base.BlockStatement.base.StaticBlock (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\node_modules\acorn-walk\dist\walk.js:198:7)
    at s (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:25:133)
    at d (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:28:22)
    at ie.shiftFinder (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:28:20336)
    at ie.<anonymous> (C:\Users\Username\AppData\Roaming\npm\node_modules\deobfuscator\dist\index.js:28:23355)
Running Simplify transformer
Running MemberExpressionCleaner transformer
Running Desequence transformer
Running ControlFlow transformer
_0x11b3dd.table = Identifier
Running Desequence transformer
Running MemberExpressionCleaner transformer
Running Simplify transformer
Running DeadCode transformer
Running Simplify transformer
Running DeadCode transformer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants