lelinhtinh / de4js

JavaScript Deobfuscator and Unpacker
https://lelinhtinh.github.io/de4js/
MIT License
1.29k stars 325 forks source link

fix: toBool converting string type to boolean without evaluation #79

Closed BobbieGoede closed 2 years ago

BobbieGoede commented 2 years ago

Fixes #77

Currently toBool utility function tries to turn string into booleans without evaluation, resulting in all non-empty strings to evaluate to true.

lelinhtinh commented 2 years ago

Thank for PR 🤗