File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # ----------------------------------------------------------------------------
3+ # EngineScript - A High-Performance WordPress Server Built on Ubuntu and Cloudflare
4+ # ----------------------------------------------------------------------------
5+ # Website: https://EngineScript.com
6+ # GitHub: https://github.com/Enginescript/EngineScript
7+ # Company: VisiStruct / EngineScript
8+ # License: GPL v3.0
9+ # OS: Ubuntu 22.04 (jammy)
10+ # ----------------------------------------------------------------------------
11+
12+ # EngineScript Variables
13+ source /usr/local/bin/enginescript/enginescript-variables.txt
14+ source /home/EngineScript/enginescript-install-options.txt
15+
16+ # Check current user's ID. If user is not 0 (root), exit.
17+ if [ " ${EUID} " != 0 ];
18+ then
19+ echo " ${BOLD} ALERT:${NORMAL} "
20+ echo " EngineScript should be executed as the root user."
21+ exit
22+ fi
23+
24+ # ----------------------------------------------------------------------------
25+ # Start Main Script
26+
27+ echo " Select a domain to scan:"
28+ echo " Enter only the domain without https:// or trailing /"
29+ echo " "
30+ echo " Examples: yourdomain.com"
31+ echo " yourdomain.net"
32+ echo " "
33+ read -p " Enter Domain name: " DOMAIN
34+ echo " "
35+ echo " You entered: ${DOMAIN} "
36+
37+ /usr/local/bin/testssl.sh/testssl.sh -S -h -e -E -s -f -p -g -U ${DOMAIN}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # ----------------------------------------------------------------------------
3+ # EngineScript - A High-Performance WordPress Server Built on Ubuntu and Cloudflare
4+ # ----------------------------------------------------------------------------
5+ # Website: https://EngineScript.com
6+ # GitHub: https://github.com/Enginescript/EngineScript
7+ # Company: VisiStruct / EngineScript
8+ # License: GPL v3.0
9+ # OS: Ubuntu 22.04 (jammy)
10+ # ----------------------------------------------------------------------------
11+
12+ # EngineScript Variables
13+ source /usr/local/bin/enginescript/enginescript-variables.txt
14+ source /home/EngineScript/enginescript-install-options.txt
15+
16+ # Check current user's ID. If user is not 0 (root), exit.
17+ if [ " ${EUID} " != 0 ];
18+ then
19+ echo " ${BOLD} ALERT:${NORMAL} "
20+ echo " EngineScript should be executed as the root user."
21+ exit
22+ fi
23+
24+ # ----------------------------------------------------------------------------
25+ # Start Main Script
26+
27+ # Remove Old Version
28+ rm -rf /usr/local/bin/testssl.sh
29+
30+ # Install Testssl.sh
31+ git clone https://github.com/drwetter/testssl.sh.git /usr/local/bin/testssl.sh
32+
33+ # Permissions
34+ find /usr/local/bin/testssl.sh -type d,f -exec chmod 755 {} \;
35+ chown -R root:root /usr/local/bin/testssl.sh
36+ find /usr/local/bin/testssl.sh -type f -iname " *.sh" -exec chmod +x {} \;
Original file line number Diff line number Diff line change 9999# phpSysinfo
100100# /usr/local/bin/enginescript/scripts/install/tools/system/phpsysinfo.sh
101101
102+ # Testssl.sh
103+ /usr/local/bin/enginescript/scripts/install/tools/system/testssl-install.sh
104+
102105# Webmin
103106if [ " ${INSTALL_WEBMIN} " = 1 ];
104107 then
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ while true
3232 echo " "
3333 echo " "
3434 PS3=' Please enter your choice: '
35- secoptions=(" Configure New Domain" " MariaDB-Check Database Optimizer" " MySQLTuner" " Update Domain Vhost File" " View/Edit EngineScript Install Options File" " Remove Domain (DANGER)" " Exit Server Tools" )
35+ secoptions=(" Configure New Domain" " MariaDB-Check Database Optimizer" " MySQLTuner" " Testssl.sh " " Update Domain Vhost File" " View/Edit EngineScript Install Options File" " Remove Domain (DANGER)" " Exit Server Tools" )
3636 select secopt in " ${secoptions[@]} "
3737 do
3838 case $secopt in
@@ -48,6 +48,10 @@ while true
4848 /usr/local/bin/enginescript/scripts/functions/server-tools/mysqltuner.sh
4949 break
5050 ;;
51+ " Testssl.sh" )
52+ /usr/local/bin/enginescript/scripts/functions/server-tools/testssl.sh
53+ break
54+ ;;
5155 " Update Domain Vhost File" )
5256 echo " Option coming soon"
5357 sleep 3
You can’t perform that action at this time.
0 commit comments