Fix menu standards: Add RED 0 back buttons to remaining 6 menus
Fixed bot-analyzer.sh (2 menus): 1. show_post_analysis_menu: Changed '3) Go Back' to '0) Back' with RED 2. show_action_menu: Changed '0) Go Back' to '0) Back' with RED Fixed malware-scanner.sh: - show_scan_menu: Changed '0. Back to main menu' to '0) Back' with RED Fixed live-attack-monitor.sh (2 menus): 1. show_blocking_menu: Changed '0) Cancel' to '0) Back' with RED 2. show_security_hardening_menu: - Changed 'q) Return to Monitor' to '0) Back' with RED - Updated case handler to use '0' instead of 'q|Q' Fixed acronis-logs.sh: - show_log_menu: Changed '0) Return to Menu' to '0) Back' (already had RED) All 9/9 menus now use consistent RED 0 back buttons with 'Back' or 'Exit' text
This commit is contained in:
@@ -1354,7 +1354,7 @@ show_blocking_menu() {
|
||||
echo -e "${BOLD}Options:${NC}"
|
||||
echo " 1-${#blockable_list[@]}) Block specific IP"
|
||||
echo " a) Block ALL high-threat IPs (score >= 80)"
|
||||
echo " 0) Cancel"
|
||||
echo -e " ${RED}0)${NC} Back"
|
||||
echo ""
|
||||
read -p "Select option: " choice
|
||||
|
||||
@@ -1453,7 +1453,8 @@ show_security_hardening_menu() {
|
||||
echo -e " ${BOLD}4${NC} - Configure Port Knocking (Coming soon)"
|
||||
echo ""
|
||||
echo -e " ${BOLD}a${NC} - Apply All Needed Fixes"
|
||||
echo -e " ${BOLD}q${NC} - Return to Monitor"
|
||||
echo ""
|
||||
echo -e " ${RED}0)${NC} Back"
|
||||
echo ""
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
read -p "Select option: " choice
|
||||
@@ -1527,7 +1528,7 @@ show_security_hardening_menu() {
|
||||
echo ""
|
||||
read -p "Press Enter to return to monitor..."
|
||||
;;
|
||||
q|Q)
|
||||
0)
|
||||
return
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user