From 7d5c0a9d83bcd7be192fa9f9be0e3f3d5f523f36 Mon Sep 17 00:00:00 2001 From: Return <151555003+H-Return@users.noreply.github.com> Date: Sat, 8 Jun 2024 12:33:25 +0330 Subject: [PATCH] Update Generate Password & UUID --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index fb4bd47..59a83b9 100644 --- a/install.sh +++ b/install.sh @@ -53,9 +53,9 @@ done # Step 8: Generate required passwords and UUID echo "Generating passwords and UUID..." -obfspassword=$(curl -s "https://api.genratr.com/?length=32&uppercase&lowercase&numbers" | jq -r '.password') -authpassword=$(curl -s "https://api.genratr.com/?length=32&uppercase&lowercase&numbers" | jq -r '.password') -UUID=$(curl -s https://www.uuidgenerator.net/api/version4) +obfspassword=$(pwgen -s 32 1) +authpassword=$(pwgen -s 32 1) +UUID=$(uuidgen) # Step 9: Adjust file permissions for Hysteria service chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt