Files
Linux-Server-Management-Too…/modules/security
Developer a805676be5 CRITICAL FIX: Add error handling to all file reads
Multiple lines: Protected all file reads with error handling
- Line 508: parsed_logs.txt wc -l with 2>/dev/null || echo 0
- Line 642: classified_bots.txt wc -l with 2>/dev/null || echo 0
- Line 1627: classified_bots.txt cat with 2>/dev/null
- Line 1913: parsed_logs.txt cat with 2>/dev/null
- Line 1967: parsed_logs.txt cat with 2>/dev/null
- Lines 2004, 2008, 2014: classified_bots.txt cats with 2>/dev/null and || true
- Lines 1354, 1380: attack_vectors_raw.txt reads with conditional checks

This prevents script exit when files don't exist due to set -e behavior.
2026-04-23 20:03:35 -04:00
..