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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user