Skip to content

Commit

Permalink
Update obfuscate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
real-LiHua committed Jun 18, 2024
1 parent 0fe40c2 commit 059e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/obfuscate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 059e332

Please sign in to comment.