Update sites.inc
This commit is contained in:
@@ -563,7 +563,7 @@ SITEINFO(){
|
|||||||
|
|
||||||
until [ "${edit}" = "c" ]; do
|
until [ "${edit}" = "c" ]; do
|
||||||
echo -e "\033[K${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}"
|
echo -e "\033[K${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}"
|
||||||
echo -e "\033[K${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}"
|
echo -e "\033[K${idsCL[Cyan]}1) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}"
|
||||||
echo -e "\033[K${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}"
|
echo -e "\033[K${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}"
|
||||||
echo -e "\033[K${idsCL[Cyan]}3) HSTS Enabled ${idsST[Bold]}${hsts}${idsST[Reset]}"
|
echo -e "\033[K${idsCL[Cyan]}3) HSTS Enabled ${idsST[Bold]}${hsts}${idsST[Reset]}"
|
||||||
echo -e "\033[K${idsCL[Cyan]}4) Web Sockets: ${idsST[Bold]}${wbskt}${idsST[Reset]}"
|
echo -e "\033[K${idsCL[Cyan]}4) Web Sockets: ${idsST[Bold]}${wbskt}${idsST[Reset]}"
|
||||||
@@ -579,6 +579,7 @@ SITEINFO(){
|
|||||||
read -n 1 edit
|
read -n 1 edit
|
||||||
|
|
||||||
case "${edit}" in
|
case "${edit}" in
|
||||||
|
1) [ "${type}" == "HTTP" ] && hsts='Proxy' || hsts='HTTP';;
|
||||||
3) [ "${hsts}" == "-" ] && hsts='Yes' || hsts='-';;
|
3) [ "${hsts}" == "-" ] && hsts='Yes' || hsts='-';;
|
||||||
4) [ "${wbskt}" == "-" ] && wbskt='Yes' || wbskt='-';;
|
4) [ "${wbskt}" == "-" ] && wbskt='Yes' || wbskt='-';;
|
||||||
5) [ "${explt}" == "-" ] && explt='Yes' || explt='-';;
|
5) [ "${explt}" == "-" ] && explt='Yes' || explt='-';;
|
||||||
|
|||||||
Reference in New Issue
Block a user