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