Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zhovner/airport-sniffer

Very simple Wi-Fi sniffer and dumps parser for built-in macbook AirPort Extreme card. Only native MacOS tools used.
https://github.com/zhovner/airport-sniffer

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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](https://www.adriangranados.com/apps/airtool) 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](http://i.imgur.com/oeZrN1m.png)

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

#### Usage:

```sudo ./airsniff.py <"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}"```