Update Generate Password & UUID

This commit is contained in:
Return
2024-06-08 12:33:25 +03:30
committed by GitHub
parent f679a9aca1
commit 7d5c0a9d83

View File

@ -53,9 +53,9 @@ done
# Step 8: Generate required passwords and UUID # Step 8: Generate required passwords and UUID
echo "Generating passwords and UUID..." echo "Generating passwords and UUID..."
obfspassword=$(curl -s "https://api.genratr.com/?length=32&uppercase&lowercase&numbers" | jq -r '.password') obfspassword=$(pwgen -s 32 1)
authpassword=$(curl -s "https://api.genratr.com/?length=32&uppercase&lowercase&numbers" | jq -r '.password') authpassword=$(pwgen -s 32 1)
UUID=$(curl -s https://www.uuidgenerator.net/api/version4) UUID=$(uuidgen)
# Step 9: Adjust file permissions for Hysteria service # Step 9: Adjust file permissions for Hysteria service
chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt