diff --git a/.github/workflows/obfuscate.yml b/.github/workflows/obfuscate.yml index d747f2c..6bca41c 100644 --- a/.github/workflows/obfuscate.yml +++ b/.github/workflows/obfuscate.yml @@ -30,7 +30,7 @@ jobs: sed -i "s/20221209/"${{ secrets.XXTEA_KEY }}"/" ./commands.js fi uglifyjs ./terminal.js ./boot.js ./crypto.js ./system.js ./filesystem.js ./commands.js -c -o ./output.js - javascript-obfuscator ./output.js -o ../bundle.min.js --debug-protection --options-preset high-obfuscation --debug-protection-interval 666 --split-strings=true --split-strings-chunk-length=4 --string-array=true --string-array-calls-transform=true --string-array-encoding=base64,rc4 --string-array-index-shift=true --string-array-shuffle=true --string-array-wrappers-chained-calls=true --reserved-names=Terminal,commands --rename-globals=true --unicode-escape-sequence=true + javascript-obfuscator ./output.js -o ../bundle.min.js --options-preset high-obfuscation --force-transform-strings=You,have,successfully,completed,exam,The,Group,Pass,word,pwd,fastboot --identifier-names-generator=dictionary --identifiers-dictionary=You,have,successfully,completed,exam,The,Group,Pass,word,pwd,decrypt,fastboot,ok,isOK,isSuccessfully,isTrue,secret,Terminal,term,commands --numbers-to-expressions=true --rename-globals=true --reserved-names=Terminal,commands --split-strings-chunk-length=4 --split-strings=true --string-array-calls-transform=true --string-array-encoding=base64,rc4 --string-array-index-shift=true --string-array-shuffle=true --string-array=true --string-array-wrappers-chained-calls=true --unicode-escape-sequence=true rm ./output.js if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then sed -i "s/"${{ secrets.XXTEA_KEY }}"/20221209/" ./commands.js