From e00159cb3528c67b14b5b2cc1e140858f7ffc505 Mon Sep 17 00:00:00 2001 From: tux Date: Fri, 12 Sep 2025 11:35:31 +0200 Subject: [PATCH] Use timestamp in filename --- mon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mon b/mon index edd8ad5..28c05d8 100755 --- a/mon +++ b/mon @@ -92,8 +92,10 @@ else source <(grep -E '^[[:space:]]*channel[[:space:]]*=' /etc/hostapd-wpe/hostapd-wpe.conf) fi +TIMESTAMP="$(date '+%Y-%m-%d_%H-%M-%S')" + # Start monitoring -if ! airodump-ng --channel $channel -w wpa "$iface"; then +if ! airodump-ng --channel $channel -w wpa-${TIMESTAMP} "$iface"; then echo "[!] Failed to start airodump-ng. Exiting." exit 1 fi