diff --git a/.github/workflows/obfuscate.yml b/.github/workflows/obfuscate.yml index 6bca41c..0a83dce 100644 --- a/.github/workflows/obfuscate.yml +++ b/.github/workflows/obfuscate.yml @@ -29,8 +29,9 @@ jobs: if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then 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 --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 + uglifyjs ./terminal.js ./boot.js ./crypto.js ./system.js ./filesystem.js ./commands.js ./init.js -c -o ./output.js + 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 --rename-properties=true --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 --transform-object-keys=true --unicode-escape-sequence=true + uglifyjs ./bundle.min.js -e -o ./bundle.min.js rm ./output.js if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then sed -i "s/"${{ secrets.XXTEA_KEY }}"/20221209/" ./commands.js diff --git a/index.html b/index.html index e4dd43a..b3396a0 100644 --- a/index.html +++ b/index.html @@ -54,15 +54,6 @@