update
This commit is contained in:
@@ -22,9 +22,11 @@ NEWCERT(){
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [ "${NEW_CERT}" == "" ]; then
|
if [ "${NEW_CERT}" == "" ]; then
|
||||||
echo -en "\n${idsCL[LightCyan]}Create certificate for what name (comma seperated for mutiple) : ${idsCL[Default]}"
|
until [ "${NEW_CERT}" != "" ]; do
|
||||||
read NEW_CERT
|
echo -en "\n${idsCL[LightCyan]}Create certificate for what name (comma seperated for mutiple) : ${idsCL[Default]}"
|
||||||
echo
|
read NEW_CERT
|
||||||
|
echo
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
||||||
@@ -92,9 +94,11 @@ NEWCERT(){
|
|||||||
|
|
||||||
DEL-SSL(){
|
DEL-SSL(){
|
||||||
if [ -z ${1+x} ]; then
|
if [ -z ${1+x} ]; then
|
||||||
echo -e -n "${idsCL[LightCyan]}Delete what SSL site address: ${idsCL[Default]}"
|
until [ "${DEL_SSL}" != "" ]; do
|
||||||
read DEL_SSL
|
echo -e -n "${idsCL[LightCyan]}Delete what SSL site address: ${idsCL[Default]}"
|
||||||
echo
|
read DEL_SSL
|
||||||
|
echo
|
||||||
|
done
|
||||||
else
|
else
|
||||||
DEL_SSL=${1}
|
DEL_SSL=${1}
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -19,9 +19,11 @@ DELSITE(){
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ -z ${DEL_SITE+x} ]; then
|
if [ -z ${DEL_SITE+x} ]; then
|
||||||
echo -en "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}"
|
until [ "${DEL_SITE}" != "" ]; do
|
||||||
read DEL_SITE
|
echo -en "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}"
|
||||||
echo
|
read DEL_SITE
|
||||||
|
echo
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
if [[ $DEL_SSL =~ ^[Nn]$ ]]; then
|
if [[ $DEL_SSL =~ ^[Nn]$ ]]; then
|
||||||
DEL_SSL=no
|
DEL_SSL=no
|
||||||
@@ -343,7 +345,8 @@ NEWSITE(){
|
|||||||
printf "%-${width}s: %s\n" "Block Exploits" "${EXPLOITS}"
|
printf "%-${width}s: %s\n" "Block Exploits" "${EXPLOITS}"
|
||||||
printf "%-${width}s: %s\n" "Secure Access" "${SECURE}"
|
printf "%-${width}s: %s\n" "Secure Access" "${SECURE}"
|
||||||
fi
|
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
|
read -n 1 response
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user