Use timestamp in filename
This commit is contained in:
parent
1a8a2e35c1
commit
e00159cb35
4
mon
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user