https://blog.csdn.net/foupwang/article/details/103306332
npm install javascript-obfuscator -g javascript-obfuscator config.js --config HunxiaoConfig.json --output config1.js
HunxiaoConfig.json
{ "compact": true, "controlFlowFlattening": true, "controlFlowFlatteningThreshold": 1, "deadCodeInjection": true, "deadCodeInjectionThreshold": 1, "disableConsoleOutput": true, "identifierNamesGenerator": "hexadecimal", "log": false, "renameGlobals": false, "rotateStringArray": true, "selfDefending": true, "stringArray": true, "stringArrayEncoding": ["base64"], "stringArrayThreshold": 1, "unicodeEscapeSequence": false }
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/281063.html