Wi-Fi探测请求嗅探器
sniff-probe-req的Python项目详细描述
此脚本允许您嗅探附近传递的Wi-Fi探测请求 你的无线接口。
探测请求由站点发送以获取有关访问的信息 点,特别是确定是否存在接入点 在附近的环境中。一些设备(主要是智能手机和平板电脑) 使用这些请求来确定它们是否有一个网络 之前连接到的是在范围内,泄露个人信息。
更多细节将在this paper中讨论。
安装
pip3 install --upgrade sniff-probe-req
如何
首先,你需要enable the monitor mode of your wireless interface。
然后:
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)
例如:
sniff-probe-req -i wlan0