Skip to content

Instantly share code, notes, and snippets.

@AlexLynd
Created September 28, 2022 22:08
Show Gist options
  • Save AlexLynd/4c8237015a0739fcad675173542972f7 to your computer and use it in GitHub Desktop.
Save AlexLynd/4c8237015a0739fcad675173542972f7 to your computer and use it in GitHub Desktop.
wifi_coconut_probe_sniffer.sh
# detect probe requests for Network Name and trigger narrated alert
sudo wifi_coconut --no-display --disable-leds --pcap=- | tshark -Y "wlan.fc.type==0 && wlan.fc.subtype==4" -r - | awk '/NetworkName/{system("espeak 'Network found'")}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment