Seems like doing the pcap dump before stopping Kismet is a Bad.
This commit is contained in:
parent
1dc679a04d
commit
757fe18026
1 changed files with 4 additions and 1 deletions
|
@ -111,11 +111,14 @@ if [ -z "$KISMET_LOG" ] || [ ! -f "$KISMET_LOG" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Stopping kismet..."
|
||||
|
||||
sudo systemctl stop kismet
|
||||
|
||||
python3 $SCRIPT_DIRECTORY/kismet_enrich_from_pcap.py --csv $TEST_FILE --pcapng "$KISMET_LOG" --output "$ENRICHED_FILE"
|
||||
|
||||
# Final email with attachment
|
||||
echo "The test with UID ${BOOT_ID} is complete. Please collect the probe. Data is attached." | \
|
||||
mutt -s "Test ${BOOT_ID} Complete" -a "$ENRICHED_FILE" -- "$RECIPIENT"
|
||||
|
||||
sudo systemctl stop kismet
|
||||
sudo kill $SUDO_KEEPALIVE_PID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue