From 3b709e7877187bd4deda66604e2b8e453d1e3a27 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Mon, 28 Sep 2020 14:44:14 -0400 Subject: [PATCH] remove cleaning of webpasswd1 --- setup/so-functions | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index b43a80ed0..214d02294 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1153,16 +1153,15 @@ manager_global() { " airgap: False"\ >> "$global_pillar" fi - WEBPASSWD1CLEAN=$(echo $WEBPASSWD1|sed -e "s/'/''/g") # Check if TheHive is enabled. If so, add creds and other details if [[ "$THEHIVE" == "1" ]]; then printf '%s\n'\ " hiveuser: $WEBUSER"\ - " hivepassword: '$WEBPASSWD1CLEAN'"\ + " hivepassword: '$WEBPASSWD1'"\ " hivekey: $HIVEKEY"\ " hiveplaysecret: $HIVEPLAYSECRET"\ " cortexuser: $WEBUSER"\ - " cortexpassword: '$WEBPASSWD1CLEAN'"\ + " cortexpassword: '$WEBPASSWD1'"\ " cortexkey: $CORTEXKEY"\ " cortexorgname: SecurityOnion"\ " cortexorguser: soadmin"\