Script to create fake access points, similar to mdk3 or mdk4.
Note: AP's are just fake and STA's cannot connect!!!
- you can use Python virtualenv
- Python3.x is needed
- Wi-Fi interface must be in "Monitor Mode" (you can read here how to do)
- root rights required (or via sudo)
# install needed packages
$ sudo apt install python3-pip python3-venv
# or
$ sudo pip3 install virtualenv
# create and change into Project directory
$ mkdir -p ~/Projects/FakeWifi && cd ~/Projects/FakeWifi
# create virtualenv
$ virtualenv -p python3 venv
# or
$ python3 -m venv venv
# activate virtualenv
$ . venv/bin/activate
# install requirements
(venv) $ pip install -r requirements.txt
# or
(venv) $ pip install Faker scapy
# list packages (optional)
(venv) $ pip freeze
# make file executable
(venv) $ chmod u+x FakeWifiAP.py
just run it...
# show help (optional)
(venv) $ sudo venv/bin/python ./FakeWifiAP.py --help
# create only 1 fake AP
(venv) $ sudo venv/bin/python ./FakeWifiAP.py wlan1
# create 10 fake AP's
(venv) $ sudo venv/bin/python ./FakeWifiAP.py wlan1 -n 10
to interrupt press [CTRL + c]
some example from my terminal...
Following AP's are created (CTRL + c to stop):
AP:hall - mac:40:35:b0:18:9a:70
AP:nguyen - mac:57:8b:74:a3:d5:1c
AP:shaw-brown - mac:4e:e1:b5:42:20:17
AP:wiley-johnson - mac:52:99:2f:34:b1:9e
AP:cooper - mac:f6:d4:84:61:d9:5e