javascript-obfuscator / gulp-javascript-obfuscator

Gulp plugin for javascript-obfuscator package.
100 stars 38 forks source link

Obfuscated script crashing when both mangled identifiers and string array are enabled. #25

Open yrammos opened 4 years ago

yrammos commented 4 years ago

Relevant gulp options below:

{
        compact: true,
        controlFlowFlattening: false,
        deadCodeInjection: false,
        debugProtection: true,
        debugProtectionInterval: false,
        disableConsoleOutput: true,
        identifierNamesGenerator: 'mangled', 
        log: false,
        renameGlobals: true,
        selfDefending: false,   
        splitStrings: true,
        splitStringsChunkLength: 3,
        stringArray: false,
        stringArrayEncoding: false, 
        rotateStringArray: true,
        stringArrayThreshold: 1.00,
        transformObjectKeys: true,
        unicodeEscapeSequence: false
}

stringArray seems the culprit here. Disabling any other other primary suspects, such as renameGlobals and debugProtection, did not fix the issue. Thanks!