Closed 0xSobky closed 6 years ago
Hi @0xSobky :) Good catch! Can probably be fixed to some extent
Heya @wisec,
Thanks for the quick fix! However, it's not a complete fix indeed. For instance, if we simply replace this
with top
:
eval((typeof!top)[5]+(typeof!top)[3]+(typeof!top)[4]+'rt')(0);
The output after the fix is still:
____________________
Deobfuscated Code
undefinedundefinedundefinedrt;(0);
Can we handle this case too? :-)
Hi, Stefano!
I see that the tool can now handle this correctly:
x = 'al'+(top+0)[4]+'r'+(top+0)[6];eval(x)(1);
However, the tool still fails to handle similar cases:
The correct output should rather be
alert(0);
. I haven't taken a look at the code yet, but I hope it's something trivial to fix.Thanks!