From 98b5443c546b130f436a89c205d42267caa8c112 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 11 Nov 2023 13:53:37 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 041cd930..60847cb2 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -604,7 +604,7 @@ SITEINFO(){ server=$(grep 'set $server' ${sitefile}) server=${server#*\"}; server=${server%\"*} - servernames=$(grep 'server_name' ${sitefile}/;//) + servernames=$(grep 'server_name' ${sitefile}) servernames=${servernames//;/} servernames=${servernames#* } servernames=${servernames// /,} @@ -628,7 +628,7 @@ SITEINFO(){ echo -e "\033[K${idsCL[White]}0) Site Address(es): ${idsCL[Cyan]}${idsST[Bold]}${servernames}${idsST[Reset]}" echo -e "\033[K${idsCL[White]}1) Site Type: ${idsCL[Cyan]}${idsST[Bold]}${type}${idsST[Reset]}" echo -en "\033[K${idsCL[White]}2) SSL Secure: ${idsCL[Cyan]}${idsST[Bold]}${ssl}${idsST[Reset]}" - [ "${SUBJECTNAMES}" != "" ] && echo " - ${idsCL[LightCyan]}(${SUBJECTNAMES})" || echo + [ "${SUBJECTNAMES}" != "" ] && echo -e " - ${idsCL[LightCyan]}(${SUBJECTNAMES})" || echo echo -e "\033[K${idsCL[White]}3) HSTS Enabled ${idsCL[Cyan]}${idsST[Bold]}${hsts}${idsST[Reset]}" echo -e "\033[K${idsCL[White]}4) Web Sockets: ${idsCL[Cyan]}${idsST[Bold]}${wbskt}${idsST[Reset]}" echo -e "\033[K${idsCL[White]}5) Exploits Block: ${idsCL[Cyan]}${idsST[Bold]}${explt}${idsST[Reset]}"