ben-sb / obfuscator-io-deobfuscator

A deobfuscator for scripts obfuscated by Obfuscator.io
https://obf-io.deobfuscate.io
Apache License 2.0
275 stars 61 forks source link

Deobfuscator not handling unprintable characters in string literals #13

Closed TopchetoEU closed 6 months ago

TopchetoEU commented 6 months ago

If we take, for example, the following unobfuscated code:

console.log('hello\n, world')

And run it trough obfuscator.io, and then trough obf-io.deobfuscate.io, we get the following:

console.log('hello
  , world');

This is true for backslashes and quotes, too