Update sites.inc
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user