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

Error when deobfuscating some files #105

Open
nicepot opened this issue Aug 15, 2024 · 1 comment
Open

Error when deobfuscating some files #105

nicepot opened this issue Aug 15, 2024 · 1 comment
Labels
bug Something isn't working deobfuscate mangle

Comments

@nicepot
Copy link

nicepot commented Aug 15, 2024

Describe the bug

Error: Unexpected constant violation (VariableDeclarator): [c,l]

Expected Behaviour

Deobfuscated

Code

https://hastebin.skyra.pw/nokiremeze.wren

Logs

editorWorkerService.js:455 Uncaught (in promise) TypeError: i.findSectionHeaders is not a function
    at editorWorkerService.js:455:26
DeobfuscateContext.tsx:66 Error: Unexpected constant violation (VariableDeclarator): [c,l]
    at webcrack.worker-B-cQ_jqz.js:67:207813
    at Array.forEach (<anonymous>)
    at Pi (webcrack.worker-B-cQ_jqz.js:67:207269)
    at Object.exit (webcrack.worker-B-cQ_jqz.js:72:10939)
    at Object.n (webcrack.worker-B-cQ_jqz.js:15:164609)
    at Ch.i [as _call] (webcrack.worker-B-cQ_jqz.js:67:17749)
    at Ch.r [as call] (webcrack.worker-B-cQ_jqz.js:67:17587)
    at Ch.s [as visit] (webcrack.worker-B-cQ_jqz.js:67:18761)
    at i.visitQueue (webcrack.worker-B-cQ_jqz.js:67:42931)
    at i.visitMultiple (webcrack.worker-B-cQ_jqz.js:67:42544)
worker.onmessage @ DeobfuscateContext.tsx:66
blob:https://webcrack.netlify.app/fa76df58-bbf3-4c87-8cf6-b3b55aeb48a7:1 Not allowed to load local resource: blob:https://webcrack.netlify.app/fa76df58-bbf3-4c87-8cf6-b3b55aeb48a7
@nicepot nicepot added the bug Something isn't working label Aug 15, 2024
@j4k0xb
Copy link
Owner

j4k0xb commented Aug 15, 2024

gonna look into it
but the deobfuscation works fine, it only errors when mangle is active

edit: it also has some weird code like this

var n = __DECODE_0__;
var n = config[e(764) + n(1192)][a];
if (n[e(1249)]) {

that is incorrectly deobfuscated into:

var n = config.ReactionRoles[a];
if (__DECODE_0__.useButtons) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deobfuscate mangle
Projects
None yet
Development

No branches or pull requests

2 participants