mindedsecurity / JStillery

Advanced JavaScript Deobfuscation via Partial Evaluation
GNU General Public License v3.0
864 stars 144 forks source link

Invalid behavior when using identifiers #27

Closed DayDun closed 5 years ago

DayDun commented 5 years ago
undefined + 2;
NaN + 2;
Infinity + 2;

results in:

'undefined2';
'NaN2';
'Infinity2';

Expected result:

NaN;
NaN;
Infinity;

Also when Infinity is evaluated, it is printed as 1e+400:

1 / 0
1e+400;
wisec commented 5 years ago

Hi @DayDun Fixed ! Thanks:)