diff --git a/README.md b/README.md index 1ee9686..e5ff61d 100644 --- a/README.md +++ b/README.md @@ -134,9 +134,9 @@ Happy hacking :) ## FAQ -**Could it deauth multiple APs in the range?** +**Could it auto-deauth all APs in the range?** -It definitely could! But I will not implement this 'feature' for ethical and legal reasons. +Yes, but I will not implement this 'feature' for ethical and legal reasons. **Can it sniff handshakes?** diff --git a/esp8266_deauther/ClientScan.cpp b/esp8266_deauther/ClientScan.cpp index 60a4c5d..7caffbb 100644 --- a/esp8266_deauther/ClientScan.cpp +++ b/esp8266_deauther/ClientScan.cpp @@ -14,11 +14,11 @@ void ClientScan::start(int _time){ selected[i] = false; packets[i] = 0; } + + for(int i=0;i<13;i++) channels[i] = -1; + results = 0; timeout = _time; - sniffing = true; - - startTime = millis(); channelsNum = 0; curChannel = 0; @@ -36,8 +36,12 @@ void ClientScan::start(int _time){ wifi_set_channel(channels[curChannel]); wifi_promiscuous_enable(1); - Serial.println("set channel to "+(String)channels[curChannel]); + if(debug) Serial.println("set channel to "+(String)channels[curChannel]); curChannel++; + + startTime = millis(); + sniffing = true; + } bool ClientScan::stop(){ @@ -86,13 +90,13 @@ void ClientScan::packetSniffer(uint8_t *buf, uint16_t len){ results++; packets[clients.add(to)]++; }else packets[clientNum]++; - if(debug){ + /*if(debug){ Serial.print("found: "); from._print(); Serial.print(" => "); to._print(); Serial.println(""); - } + }*/ } } } diff --git a/screenshots/connection_screenshot_1.jpg b/screenshots/connection_screenshot_1.jpg deleted file mode 100644 index 8cd4f9f..0000000 Binary files a/screenshots/connection_screenshot_1.jpg and /dev/null differ diff --git a/screenshots/web_screenshot_1.JPG b/screenshots/web_screenshot_1.JPG index a72e60a..ce9d9be 100644 Binary files a/screenshots/web_screenshot_1.JPG and b/screenshots/web_screenshot_1.JPG differ diff --git a/screenshots/web_screenshot_2.JPG b/screenshots/web_screenshot_2.JPG index a748f87..86762aa 100644 Binary files a/screenshots/web_screenshot_2.JPG and b/screenshots/web_screenshot_2.JPG differ diff --git a/screenshots/web_screenshot_3.JPG b/screenshots/web_screenshot_3.JPG index 58c89e9..0004dfd 100644 Binary files a/screenshots/web_screenshot_3.JPG and b/screenshots/web_screenshot_3.JPG differ