Actually open the Kismet log, maybe?
This commit is contained in:
parent
8b0e83ca86
commit
0a294f86b9
1 changed files with 7 additions and 0 deletions
|
@ -89,6 +89,13 @@ done
|
|||
|
||||
echo "Enriching the data..."
|
||||
|
||||
KISMET_LOG=$(find ~/kismet_logs -type f -name "*.kismet" -printf "%T@ %p\n" | sort -n | tail -1 | cut -d' ' -f2-)
|
||||
|
||||
if [ -z "$KISMET_LOG" ] || [ ! -f "$KISMET_LOG" ]; then
|
||||
echo "[!] Kismet log file not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python3 $SCRIPT_DIRECTORY/kismet_enrich_csv.py --csv $TEST_FILE --kismet "$KISMET_LOG" --output "$ENRICHED_FILE"
|
||||
|
||||
# Final email with attachment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue