This commit is contained in:
2023-11-14 07:30:27 -06:00
parent 558bd930f0
commit bf07742ec9
2 changed files with 17 additions and 10 deletions

View File

@@ -22,9 +22,11 @@ NEWCERT(){
done
fi
if [ "${NEW_CERT}" == "" ]; then
echo -en "\n${idsCL[LightCyan]}Create certificate for what name (comma seperated for mutiple) : ${idsCL[Default]}"
read NEW_CERT
echo
until [ "${NEW_CERT}" != "" ]; do
echo -en "\n${idsCL[LightCyan]}Create certificate for what name (comma seperated for mutiple) : ${idsCL[Default]}"
read NEW_CERT
echo
done
fi
echo
@@ -92,9 +94,11 @@ NEWCERT(){
DEL-SSL(){
if [ -z ${1+x} ]; then
echo -e -n "${idsCL[LightCyan]}Delete what SSL site address: ${idsCL[Default]}"
read DEL_SSL
echo
until [ "${DEL_SSL}" != "" ]; do
echo -e -n "${idsCL[LightCyan]}Delete what SSL site address: ${idsCL[Default]}"
read DEL_SSL
echo
done
else
DEL_SSL=${1}
fi

View File

@@ -19,9 +19,11 @@ DELSITE(){
shift
done
if [ -z ${DEL_SITE+x} ]; then
echo -en "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}"
read DEL_SITE
echo
until [ "${DEL_SITE}" != "" ]; do
echo -en "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}"
read DEL_SITE
echo
done
fi
if [[ $DEL_SSL =~ ^[Nn]$ ]]; then
DEL_SSL=no
@@ -343,7 +345,8 @@ NEWSITE(){
printf "%-${width}s: %s\n" "Block Exploits" "${EXPLOITS}"
printf "%-${width}s: %s\n" "Secure Access" "${SECURE}"
fi
echo -en "${idsCL[LightRed]}Is this information correct? [Y/n]${idsCL[Default]} "
echo
echo -en "${idsCL[LightGreen]}Is this information correct? [Y/n]${idsCL[Default]} "
read -n 1 response
echo