7 lines
303 B
Bash
Executable File
7 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
# V31 batch generator - Opus WIRE doctrine 13+7 - Skill: crowdsec-count
|
|
# Description: CrowdSec bans
|
|
# Whitelist-safe timeout 8s
|
|
set +e
|
|
timeout 8 bash -c "cscli decisions list 2>/dev/null | wc -l || echo 0" 2>&1 || echo "{\"skill\":\"crowdsec-count\",\"error\":\"timeout_or_missing_tool\"}"
|