Add missing BOLD variable to historical attack analyzer
Logic Review: ✅ Field extraction working correctly (|| delimiter) ✅ Associative array tracking working (cumulative scores) ✅ Compression detection working (gz, bz2) ✅ Syntax validated ✅ All test cases passed Fixed: - Added BOLD='\033[1m' color variable (was undefined) Tested: - Field parsing: 95||WEBSHELL,CMD||... → correct extraction - Cumulative tracking: 95 + 90 = 185 ✅ - Compression: .gz→zcat, .bz2→bzcat, other→cat ✅ - Threshold filtering: Only reports scores ≥ threshold ✅ Ready for production use.
This commit is contained in:
@@ -32,6 +32,7 @@ YELLOW='\033[1;33m'
|
||||
GREEN='\033[0;32m'
|
||||
BLUE='\033[0;34m'
|
||||
CYAN='\033[0;36m'
|
||||
BOLD='\033[1m'
|
||||
NC='\033[0m'
|
||||
|
||||
# Default options
|
||||
|
||||
Reference in New Issue
Block a user