Skip to main content

Wi-Fi Probe Requests Sniffer

Project description

Build Status Code Coverage Dependency Status Known Vulnerabilities

This script allows you to sniff the Wi-Fi probe requests passing near your wireless interface.

Probe requests are sent by a station to elicit information about access points, in particular to determine if an access point is present or not in the nearby environment. Some devices (mostly smartphones and tablets) use these requests to determine if one of the networks they have previously been connected to is in range, leaking personal information.

Further details are discussed in this paper.

Dependencies

This software requires Python 3 and the following dependencies:

Also, tcpdump has to be installed and in the PATH.

Installation

pip3 install --upgrade sniff-probe-req

How to

First of all, you need to enable the monitor mode of your wireless interface.

Then:

usage: sniff-probe-req [-h] [--debug] [-e ESSID [ESSID ...]]
                       [--exclude EXCLUDE [EXCLUDE ...]] -i INTERFACE
                       [--ignore-case] [-o OUTPUT] [-r REGEX]
                       [-s STATION [STATION ...]]

Wi-Fi Probe Requests Sniffer

optional arguments:
  -h, --help            show this help message and exit
  --debug               debug mode
  -e ESSID [ESSID ...], --essid ESSID [ESSID ...]
                        ESSID of the APs to filter (space-separated list)
  --exclude EXCLUDE [EXCLUDE ...]
                        MAC addresses of the stations to exclude (space-
                        separated list)
  -i INTERFACE, --interface INTERFACE
                        wireless interface to use (must be in monitor mode)
  --ignore-case         ignore case distinctions in the regex pattern
                        (default: false)
  -o OUTPUT, --output OUTPUT
                        output file to save the captured data (CSV format)
  -r REGEX, --regex REGEX
                        regex to filter the ESSIDs
  -s STATION [STATION ...], --station STATION [STATION ...]
                        MAC addresses of the stations to filter (space-
                        separated list)

For example:

sniff-probe-req -i wlan0

License

GPL version 3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sniff-probe-req-0.5.1.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file sniff-probe-req-0.5.1.tar.gz.

File metadata

File hashes

Hashes for sniff-probe-req-0.5.1.tar.gz
Algorithm Hash digest
SHA256 86a52ac2bd338f2e63c440dc930ad34860a5ed0dfbe146b29ac07c95e20d7ab0
MD5 4d36042eb8c3973dad9e0a3a8247caf8
BLAKE2b-256 05a37dc84c0e50df297231d99358508d6948101ba102375969f9be7fcd3654ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page