From 7384be48bcdd87a8195ce8a81522ad64759cf5a2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 22:04:39 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 44b38c71..44f39c25 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -562,15 +562,15 @@ SITEINFO(){ [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-' until [ "${edit}" = "c" ]; do - echo -e "\033[K${idsCL[Cyan]}#) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}0) Site Address: ${idsST[Bold]}${site}${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]}2) 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]}4) Web Sockets: ${idsST[Bold]}${wbskt}${idsST[Reset]}" echo -e "\033[K${idsCL[Cyan]}5) Exploits Block: ${idsST[Bold]}${explt}${idsST[Reset]}" echo -e "\033[K${idsCL[Cyan]}6) Secured: ${idsST[Bold]}${lock}${idsST[Reset]}" if [ "${type}" == "Proxy" ]; then - echo -e "\033[K${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}7) Proxy Address: ${idsST[Bold]}${server}${idsST[Reset]}" echo -e "\033[K${idsCL[Cyan]}8) Proxy Scheme: ${idsST[Bold]}${scheme}${idsST[Reset]}" echo -e "\033[K${idsCL[Cyan]}9) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}" else @@ -583,11 +583,19 @@ SITEINFO(){ read -n 1 edit case "${edit}" in + 0) ;; 1) [ "${type}" == "HTTP" ] && type='Proxy' || type='HTTP';; + 2) ;; 3) [ "${hsts}" == "-" ] && hsts='Yes' || hsts='-';; 4) [ "${wbskt}" == "-" ] && wbskt='Yes' || wbskt='-';; 5) [ "${explt}" == "-" ] && explt='Yes' || explt='-';; 6) [ "${lock}" == "-" ] && lock='Yes' || lock='-';; + 7) + echo + echo -en "Enter new Proxy Address: " + read server + echo -e "\033[2A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[2A" + ;; esac echo -e "\033[12A" else