Skip to content

Very simple Wi-Fi sniffer and dumps parser for built-in macbook AirPort Extreme card. Only native MacOS tools used.

Notifications You must be signed in to change notification settings

zhovner/airport-sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

This is quite simple script. You can do all this stuff manually without the script. It uses Airport Extreme card for grab your pattern from wireless traffic. It can be used only in open Wi-Fi network.

Also try Airtool.app for just dumping Wi-Fi traffic.

How it works:

  • Turn Airport card into monitor mode on selected channel.

sudo "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" sniff 10

It will write dump in .cap file localted in /tmp/.

To find out what channel number is used on your network hold Alt and click on wifi icon:

CHANNEL

  • In cycle matches your regexp in .cap file and excluding duplicate strings.

Usage:

sudo ./airsniff.py <channel> <"pattern">

channel — wifi channel

"pattern" — regexp that will grep /tmp/*.cap file. Quotes required!

Example for vk.com:

sudo ./airsniff.py 10 "remixsid=[a-z0-9]{53}"

About

Very simple Wi-Fi sniffer and dumps parser for built-in macbook AirPort Extreme card. Only native MacOS tools used.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages