ben-sb / obfuscator-io-deobfuscator

A deobfuscator for scripts obfuscated by Obfuscator.io
https://obf-io.deobfuscate.io
Apache License 2.0
275 stars 61 forks source link

Error when running using nodejs #12

Closed Scotto0 closed 4 months ago

Scotto0 commented 7 months ago

i got this error when trying to deobfuscate a long javascript i can give the javascript in private if want to check. ➜ npm run test

obfuscator-io@1.0.0 test tsc && node dist/test.js

[2023-12-08T20:55:03.921Z]: Starting pass 1 [2023-12-08T20:55:03.923Z]: Executing UnusedVariableRemover [2023-12-08T20:55:03.983Z]: Executed UnusedVariableRemover, modified false [2023-12-08T20:55:03.984Z]: Executing ConstantPropgator [2023-12-08T20:55:04.058Z]: Executed ConstantPropgator, modified true [2023-12-08T20:55:04.059Z]: Executing ReassignmentRemover [2023-12-08T20:55:04.111Z]: Executed ReassignmentRemover, modified true [2023-12-08T20:55:04.111Z]: Executing DeadBranchRemover [2023-12-08T20:55:04.150Z]: Executed DeadBranchRemover, modified false [2023-12-08T20:55:04.150Z]: Executing ObjectPacker [2023-12-08T20:55:04.178Z]: Executed ObjectPacker, modified false [2023-12-08T20:55:04.179Z]: Executing ProxyFunctionInliner [2023-12-08T20:55:04.238Z]: Executed ProxyFunctionInliner, modified true [2023-12-08T20:55:04.238Z]: Executing ExpressionSimplifier [2023-12-08T20:55:04.290Z]: Executed ExpressionSimplifier, modified true [2023-12-08T20:55:04.290Z]: Executing SequenceSplitter [2023-12-08T20:55:04.334Z]: Executed SequenceSplitter, modified true [2023-12-08T20:55:04.334Z]: Executing ControlFlowRecoverer [2023-12-08T20:55:04.363Z]: Executed ControlFlowRecoverer, modified false [2023-12-08T20:55:04.379Z]: Executing PropertySimplifier [2023-12-08T20:55:04.454Z]: Executed PropertySimplifier, modified false [2023-12-08T20:55:04.454Z]: Executing ObjectSimplifier [2023-12-08T20:55:04.498Z]: Executed ObjectSimplifier, modified false [2023-12-08T20:55:04.499Z]: Executing StringRevealer [2023-12-08T20:55:04.551Z]: Executed StringRevealer, modified true

[2023-12-08T20:55:04.551Z]: Starting pass 2 [2023-12-08T20:55:04.551Z]: Executing UnusedVariableRemover [2023-12-08T20:55:04.593Z]: Executed UnusedVariableRemover, modified true [2023-12-08T20:55:04.593Z]: Executing ConstantPropgator [2023-12-08T20:55:04.632Z]: Executed ConstantPropgator, modified false [2023-12-08T20:55:04.632Z]: Executing ReassignmentRemover [2023-12-08T20:55:04.671Z]: Executed ReassignmentRemover, modified false [2023-12-08T20:55:04.672Z]: Executing DeadBranchRemover [2023-12-08T20:55:04.703Z]: Executed DeadBranchRemover, modified false [2023-12-08T20:55:04.704Z]: Executing ObjectPacker [2023-12-08T20:55:04.742Z]: Executed ObjectPacker, modified false [2023-12-08T20:55:04.742Z]: Executing ProxyFunctionInliner [2023-12-08T20:55:04.767Z]: Executed ProxyFunctionInliner, modified true [2023-12-08T20:55:04.767Z]: Executing ExpressionSimplifier

#

Fatal error in , line 0

Fatal JavaScript invalid size error 169220804

# # #

FailureMessage Object: 000000ED0FDF4230

1: 00007FF6645E027F node_api_throw_syntax_error+175631 2: 00007FF6644F60AF v8::CTypeInfoBuilder::Build+12543 3: 00007FF6653866D2 V8_Fatal+162 4: 00007FF664EA1505 v8::internal::FactoryBase::NewFixedArray+101 5: 00007FF664D26B83 v8::internal::FeedbackNexus::ic_state+65795 6: 00007FF664D45700 v8::Context::GetIsolate+15600 7: 00007FF664B91CE0 v8::internal::CompilationCache::IsEnabledScriptAndEval+25952 8: 00007FF66509EB61 v8::internal::SetupIsolateDelegate::SetupHeap+558193 9: 00007FF5E532C2C7

ben-sb commented 7 months ago

Looks like an out of memory error, is the file very large?

Scotto0 commented 7 months ago

the original file is only 32kb. when formatted it is 36kb. not really large but it stucked trying to process in the website and in nodejs

ben-sb commented 6 months ago

Can you upload your script to Pastebin and I will take a look