MichaelXF / js-confuser

JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.
https://js-confuser.com
MIT License
168 stars 28 forks source link

fix `__getGlobal` in BufferToStringTemplate #112

Open Le0Developer opened 8 months ago

Le0Developer commented 8 months ago

The current implementation does not work as expected. If global is not known, it immediately throws a ReferenceError and does not even try window or new Function("return this")()