You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very rarely StringArrayRc4DecodeNodeTemplate return wrong string when decoding object's key. It ends up in undefined is not a function of similar. When I obfuscate with new seed it's on 99% fixed.
I'm trying to lower the risk of failure by altering rc4KeyLength from 4 to 6 and rc4KeysCount from 50 to 500.
Is it possible that occasional collision in generation of rc4key break this?
Expected Behavior
StringArrayRc4DecodeNodeTemplate should properly decode string
It's runtime error for example Ee._12(256,Te.a,false) is obfuscated to _0x55bc2f[_0x4db2('0x1727','bdx4WD')](0x100,_0xd104ae['a'],!0x1) and _0x4db2('0x1727','bdx4WD') return incorrectly decoded string when _12 should.
I was trying to force collision but no luck node <script below> obfuscate out.js node out.js
constfs=require('fs');functionmain(){leto='';functionadd(s){o+=s+'\n';}add('let Ee = {');letids=[];for(leti=0;i<10000;i++){1letid=''+Math.round(Math.random()*10000);if(!ids.includes(id)){ids.push(id);add('_'+id+': (a,b,c=1) => a + b * c,');}}add('};')add(`let sum = 0;`)for(leti=0;i<100000;i++){letid=ids[Math.round(Math.random()*1000)%ids.length];add('sum += Ee._'+id+'('+i+','+i*2+','+i+');');}add('console.log(sum);');fs.writeFileSync('out.js',o);}main();
Activity
sanex3339 commentedon Jan 30, 2020
Can you show code line with the error above?
pawelzwronek commentedon Jan 30, 2020
It's runtime error for example
Ee._12(256,Te.a,false)is obfuscated to_0x55bc2f[_0x4db2('0x1727','bdx4WD')](0x100,_0xd104ae['a'],!0x1)and_0x4db2('0x1727','bdx4WD')return incorrectly decoded string when_12should.pawelzwronek commentedon Jan 30, 2020
I was trying to force collision but no luck
node <script below>obfuscate out.jsnode out.jspawelzwronek commentedon Jan 30, 2020
Here is snipped where most time an error occurs. In
Ee._12for example,_12is broken.sanex3339 commentedon Jan 30, 2020
Will check it on the weekend
pawelzwronek commentedon Jan 31, 2020
Checkout mail at yandex.ru :)
sanex3339 commentedon Feb 1, 2020
Did you send me something in the mail?
sanex3339 commentedon Feb 1, 2020
Should be fixed now
sanex3339 commentedon Feb 2, 2020
Did you try it?
pawelzwronek commentedon Feb 2, 2020
Yup, it's working very well.
sanex3339 commentedon Feb 2, 2020
Nice!