Skip to content

Commit

Permalink
Fixes issue beautifier#1350 by properly identifying obfuscated text
Browse files Browse the repository at this point in the history
  • Loading branch information
Donovan55 committed Oct 2, 2022
1 parent aa82eb9 commit da09339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/unpackers/javascriptobfuscator_unpacker.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

var JavascriptObfuscator = {
detect: function(str) {
return /^var _0x[a-f0-9]+ ?\= ?\[/.test(str);
return /^var _0x[a-f0-9]+ ?\= ?\[[\"|\'][\\]x/.test(str);
},

unpack: function(str) {
Expand Down

0 comments on commit da09339

Please sign in to comment.