j4k0xb / webcrack

Deobfuscate obfuscator.io, unminify and unpack bundled javascript
https://webcrack.netlify.app
MIT License
1.07k stars 129 forks source link

cannot deobfuscate #103

Closed manojdjoshi closed 3 months ago

manojdjoshi commented 3 months ago

Describe the bug

cannot deobfuscate this type code

Expected Behaviour

how to deobfuscate this type file

Code

https://drive.google.com/file/d/1Bom9u3d2XUk0iuZtK2Z9iFbxtqz6XETn/view?usp=sharing

Logs

No response

j4k0xb commented 3 months ago

The file is corrupted: image

eval((function (�, �, �, Z, �, �) {
� = function (�) {
return � < � ? "" : �(parseInt(� / �)) + (� = � % �) > 35 ? String.fromCharCode(� + 29) : �.toString(36);
};
if (!"".replace(/^/, String)) { 
while (�--) {
�[�(�)] = (Z[�]) || (�(�));
}
Z = [function (�) {
return �[�];
}];
� = function () {
return "\\w+";
};
� = 1;
}
while (�--) {
if (Z[�]) { 
� = �.replace(new RegExp("\\b" + �(�) + "\\b", "g"), Z[�]);
}
}
return �;
})("b 9L=[

For these lines you can get the source as explained in https://www.trickster.dev/post/understanding-javascript-packers

Also webcrack only supports newer https://github.com/javascript-obfuscator/javascript-obfuscator versions, you probably need to search for another tool to fully deobfuscate it