Add debug output for enrich.py execution in runtest.sh for better traceability

This commit is contained in:
Yaro Kasear 2025-04-16 13:49:17 -05:00
parent e698e25a5d
commit 32640267b2

View file

@ -121,6 +121,7 @@ sudo systemctl stop kismet
# Let's enrich the data with passive metrics.
echo "Enriching the data..."
echo "[DEBUG] Running: python3 $SCRIPT_DIRECTORY/enrich.py --csv $TEST_FILE --pcapng \"$KISMET_LOG\" --output \"$ENRICHED_FILE\""
KISMET_LOG=$(find ~/kismet_logs -type f -name "*.pcapng" -printf "%T@ %p\n" | sort -n | tail -1 | cut -d' ' -f2-)