Refactor packet filtering in analyze_pcap to improve timestamp handling and client retrieval
This commit is contained in:
parent
e0d8a3b707
commit
163281cc28
2 changed files with 29 additions and 17 deletions
|
@ -109,6 +109,10 @@ while [ "$COUNTER" -lt "$NUM_TESTS" ]; do
|
|||
fi
|
||||
done
|
||||
|
||||
echo "Stopping kismet..."
|
||||
|
||||
sudo systemctl stop kismet
|
||||
|
||||
# Let's enrich the data with passive metrics.
|
||||
|
||||
echo "Enriching the data..."
|
||||
|
@ -120,10 +124,6 @@ if [ -z "$KISMET_LOG" ] || [ ! -f "$KISMET_LOG" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Stopping kismet..."
|
||||
|
||||
sudo systemctl stop kismet
|
||||
|
||||
python3 $SCRIPT_DIRECTORY/enrich.py --csv $TEST_FILE --pcapng "$KISMET_LOG" --output "$ENRICHED_FILE"
|
||||
|
||||
# Final email with attachment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue