mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
remove cleaning of webpasswd1
This commit is contained in:
@@ -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"\
|
||||||
|
|||||||
Reference in New Issue
Block a user