From 9a372282544d1e097eb5db88ab3e844594c47462 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Sun, 2 May 2021 22:22:09 -0400 Subject: [PATCH] removing underscore --- scripts/subinstallers/extra/wazuh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/subinstallers/extra/wazuh.sh b/scripts/subinstallers/extra/wazuh.sh index 2959629..83dcb79 100755 --- a/scripts/subinstallers/extra/wazuh.sh +++ b/scripts/subinstallers/extra/wazuh.sh @@ -23,14 +23,14 @@ import secrets import random import string -random_pass = ([secrets.choice("@$!*?-_"), +random_pass = ([secrets.choice("@$!*?-"), secrets.choice(string.digits), secrets.choice(string.ascii_lowercase), secrets.choice(string.ascii_uppercase), ] + [secrets.choice(string.ascii_lowercase + string.ascii_uppercase - + "@$!*?-_" + + "@$!*?-" + string.digits) for i in range(12)]) random.shuffle(random_pass)