Enhance analyze_pcap function to track hidden SSIDs and Cisco client counts; update SSID metrics file attachment in runtest.sh for improved reporting.

This commit is contained in:
Yaro Kasear 2025-04-17 14:04:06 -05:00
parent 51312b04de
commit 287ec036eb
3 changed files with 37 additions and 10 deletions

View file

@ -151,6 +151,11 @@ if [ -f "$FAILURE_LOG" ]; then
echo "[+] Attaching failure log: $FAILURE_LOG"
fi
if [ -f "$SSID_METRICS_FILE" ]; then
ATTACHMENTS+=("$SSID_METRICS_FILE")
echo "[+] Attaching SSID metrics file: $SSID_METRICS_FILE"
fi
# Check if there's at least one file to send
if [ ${#ATTACHMENTS[@]} -eq 0 ]; then
echo "[!] No files to attach. Email not sent."