Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提高一点非正常手段解题难度 #13

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Next Next commit
Update obfuscate.yml
real-LiHua authored Jun 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0fe40c2bf200607663a6b7da6832f5cefa6143e3
2 changes: 1 addition & 1 deletion .github/workflows/obfuscate.yml
Original file line number Diff line number Diff line change
@@ -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 --options-preset high-obfuscation
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
rm ./output.js
if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then
sed -i "s/"${{ secrets.XXTEA_KEY }}"/20221209/" ./commands.js