From f223a0741713b95d546b03af61f10403c5634212 Mon Sep 17 00:00:00 2001 From: pLAn3tT30 <106966424+pLAn3tT30@users.noreply.github.com> Date: Mon, 6 Jun 2022 13:51:54 +0200 Subject: [PATCH] open3A random pwd max. 20 --- src/functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index fa37998..58fa140 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -5,4 +5,9 @@ random_password() { set +o pipefail C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32 -} \ No newline at end of file +} + +random_password_open3a() { + set +o pipefail + C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c20 +}