Giter Club home page Giter Club logo

Comments (6)

ben-sb avatar ben-sb commented on July 18, 2024 1

Yes that script is obfuscated with a custom obfuscator so you'll need to make a custom deobfuscator for it (this repo is for general deobfuscation, not targeted towards any specific obfuscator). It shouldn't be too hard, looks like some standard string encoding and a confused attempt at control flow flattening.

from javascript-deobfuscator.

ben-sb avatar ben-sb commented on July 18, 2024

Hi, can you upload the sample to Pastebin please

from javascript-deobfuscator.

menchaca88 avatar menchaca88 commented on July 18, 2024

is too big for pastebin. Let me try to find a smaller sample with the same issuee.

from javascript-deobfuscator.

eliasto avatar eliasto commented on July 18, 2024

Hi! I got the same issue.
The code: https://pastebin.com/tV2pbHL0
My logs:

PS C:\Users\elias\Desktop\deob\javascript-deobfuscator> npm run start

[email protected] start
tsc && node dist/run.js

[2022-03-11T08:07:45.579Z]: Executing FunctionExecutor
[2022-03-11T08:07:45.671Z]: Executing ProxyRemover
C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\graph\graph.js:62
throw new Error(Cannot add duplicate edge ${edge.name});
^

Error: Cannot add duplicate edge 9021165fb4514548bf76f5ab3b64565c -> e9c17571e6794732a261cd154193a5de
at Graph.addEdge (C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\graph\graph.js:62:19)
at Controller.enter (C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\modifications\proxies\proxyRemover.js:137:44)
at Controller.__execute (C:\Users\elias\Desktop\deob\javascript-deobfuscator\node_modules\estraverse\estraverse.js:397:31)
at Controller.traverse (C:\Users\elias\Desktop\deob\javascript-deobfuscator\node_modules\estraverse\estraverse.js:501:28)
at Object.traverse (C:\Users\elias\Desktop\deob\javascript-deobfuscator\node_modules\estraverse\estraverse.js:713:27)
at ProxyRemover.findCycles (C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\modifications\proxies\proxyRemover.js:126:24)
at ProxyRemover.execute (C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\modifications\proxies\proxyRemover.js:37:14)
at Object.deobfuscate (C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\index.js:65:22)
at Object. (C:\Users\elias\Desktop\deob\javascript-deobfuscator\dist\run.js:28:24)
at Module._compile (node:internal/modules/cjs/loader:1101:14)

from javascript-deobfuscator.

ben-sb avatar ben-sb commented on July 18, 2024

Should be fixed in 318c731

from javascript-deobfuscator.

eliasto avatar eliasto commented on July 18, 2024

Thanks, the error is gone but it's not deobfuscated, unfortunately. :/

from javascript-deobfuscator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.