Fix historical attack analyzer path in launcher

Changed $SCRIPT_DIR to $BASE_DIR (correct variable name in launcher.sh)
Now option 15 properly launches: /root/server-toolkit/tools/analyze-historical-attacks.sh
This commit is contained in:
cschantz
2025-12-13 02:23:14 -05:00
parent 1f8e3e2ca8
commit c5d72d6d91
+1 -1
View File
@@ -171,7 +171,7 @@ handle_security_menu() {
12) run_module "security" "tail-secure-log.sh" ;;
13) run_module "security" "enable-cphulk.sh" ;;
14) run_module "security" "optimize-ct-limit.sh" ;;
15) bash "$SCRIPT_DIR/tools/analyze-historical-attacks.sh" ;;
15) bash "$BASE_DIR/tools/analyze-historical-attacks.sh" ;;
0) return ;;
*) echo -e "${RED}Invalid option${NC}"; sleep 1 ;;
esac