remove cleaning of webpasswd1

This commit is contained in:
m0duspwnens
2020-09-28 14:44:14 -04:00
parent 053b19de11
commit 3b709e7877

View File

@@ -1153,16 +1153,15 @@ manager_global() {
" airgap: False"\ >> "$global_pillar" " airgap: False"\ >> "$global_pillar"
fi fi
WEBPASSWD1CLEAN=$(echo $WEBPASSWD1|sed -e "s/'/''/g")
# Check if TheHive is enabled. If so, add creds and other details # Check if TheHive is enabled. If so, add creds and other details
if [[ "$THEHIVE" == "1" ]]; then if [[ "$THEHIVE" == "1" ]]; then
printf '%s\n'\ printf '%s\n'\
" hiveuser: $WEBUSER"\ " hiveuser: $WEBUSER"\
" hivepassword: '$WEBPASSWD1CLEAN'"\ " hivepassword: '$WEBPASSWD1'"\
" hivekey: $HIVEKEY"\ " hivekey: $HIVEKEY"\
" hiveplaysecret: $HIVEPLAYSECRET"\ " hiveplaysecret: $HIVEPLAYSECRET"\
" cortexuser: $WEBUSER"\ " cortexuser: $WEBUSER"\
" cortexpassword: '$WEBPASSWD1CLEAN'"\ " cortexpassword: '$WEBPASSWD1'"\
" cortexkey: $CORTEXKEY"\ " cortexkey: $CORTEXKEY"\
" cortexorgname: SecurityOnion"\ " cortexorgname: SecurityOnion"\
" cortexorguser: soadmin"\ " cortexorguser: soadmin"\