Wifi devices sniffer in python
-
Connect TP-Link TL-WN7222N
-
Open terminal and run:
$ sudo apt-get install net-tools tshark python3-tk
$ iwconfig
- Get the device code and then run:
$ ifconfig {device code} down
$ sudo iwconfig {device code} mode monitor
$ sudo ifconfig {device code} up
- Create virtualenv (optional) and then install python requirements:
(.env) $ pip install -r requirements.txt
- Run sniffer.py as superuser:
$ sudo su
(.env) $ python sniffer.py