Skip to content

Commit 6cd3a46

Browse files
author
Stefan Kremser
committed
version 1.4
- changed webinterface design - improved error handling - can add clients manually - added settings reset via console command "reset" and GPIO 4 - improved default settings for more stability - added warning at the beginning - added info page
1 parent 9c88c6b commit 6cd3a46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1824
-1315
lines changed

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ furnished to do so, subject to the following conditions:
1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
1414

15+
Any redistributing, advertising or selling of this project as "jammer" without clearly stating it as a pentesting device for testing purposes only, is prohibited!
16+
1517
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1618
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1719
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

README.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,30 @@ Deauthentication attack and other hacks using an ESP8266.
55

66
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RCHANSVSX9M8C)
77

8+
**Any redistributing, advertising or selling of this project as "jammer" without clearly stating it as a pentesting device for testing purposes only, is prohibited!**
9+
10+
I disabled the issue section because of the flood of invalid questions, unrelated to this project.
11+
All necessary information is described below. Do not open issues about this project on any other of my projects, otherwise you will be blocked immediately!
12+
13+
**This project is a proof of concept for testing and education.**
14+
Neither the ESP8266, nor the SDK was meant and build for such purposes.
15+
Bugs can occur!
16+
17+
818
## Contents
919
- [Introduction](#introduction)
1020
- [What it is](#what-it-is)
1121
- [How it works](#how-it-works)
1222
- [What an ESP8266 is](#what-an-esp8266-is)
1323
- [How to protect against it](#how-to-protect-against-it)
1424
- [Disclaimer](#disclaimer)
25+
- [Videos](#videos)
1526
- [Installation](#installation)
1627
- [Uploading the bin files](#uploading-the-bin-files)
1728
- [Compiling the source with Arduino](#compiling-the-source-with-arduino)
1829
- [Adding OLED display](#adding-oled-display)
1930
- [How to use it](#how-to-use-it)
2031
- [FAQ](#faq)
21-
- [Videos](#videos)
2232
- [License](#license)
2333
- [Sources and additional links](#sources-and-additional-links)
2434

@@ -62,10 +72,22 @@ I don't take any responsibility for what you do with this program.
6272
Please check the legal regulations in your country before using it.
6373
**It is not a jammer device as claimed falsely by many people.** Its attack, how it works and how to protect against it is described above. It uses valid Wi-Fi frames described in the official 802.11 standard and doesn't block any communications on any frequency.
6474

75+
Any redistributing, advertising or selling of this project as "jammer" without clearly stating it as a pentesting device for testing purposes only, is prohibited!
76+
6577
My intention with this project is to draw more attention to this issue.
6678
This attack shows how vulnerable the 802.11 Wi-Fi standard is and that it has to be fixed.
6779
**A solution is already there, why don’t we use it?**
6880

81+
## Videos
82+
83+
[![Cheap Wi-Fi 'Jammer' Device | NodeMCU](https://img.youtube.com/vi/oQQhBdCQOTM/0.jpg)](https://www.youtube.com/watch?v=oQQhBdCQOTM)
84+
85+
[![Wifi 'Jammer' Device V1.1 | Setup Tutorial](https://img.youtube.com/vi/r5aoV5AolNo/0.jpg)](https://www.youtube.com/watch?v=r5aoV5AolNo)
86+
87+
[![WiFi Jamming Tutorial "Deauthing Made Simple" ](https://img.youtube.com/vi/SswI-J-M2SE/0.jpg)](https://www.youtube.com/watch?v=SswI-J-M2SE)
88+
89+
[![NodeMCU ESP8266 Tutorial 02: WiFi Hack with ESP8266 (NodeMCU WiFi Jammer)](https://img.youtube.com/vi/MOscKnm8IcY/0.jpg)](https://www.youtube.com/watch?v=MOscKnm8IcY)
90+
6991
## Installation
7092

7193
The only thing you will need is a computer and an ESP8266.
@@ -235,21 +257,12 @@ If it can send packets but your target doesn't loose its connection, then the Wi
235257

236258
### If you have other questions or problems with the ESP8266 you can also check out the official [community forum](http://www.esp8266.com/).
237259

238-
## Videos
239-
240-
[![Cheap Wi-Fi 'Jammer' Device | NodeMCU](https://img.youtube.com/vi/oQQhBdCQOTM/0.jpg)](https://www.youtube.com/watch?v=oQQhBdCQOTM)
241-
242-
[![Wifi 'Jammer' Device V1.1 | Setup Tutorial](https://img.youtube.com/vi/r5aoV5AolNo/0.jpg)](https://www.youtube.com/watch?v=r5aoV5AolNo)
243-
244-
[![WiFi Jamming Tutorial "Deauthing Made Simple" ](https://img.youtube.com/vi/SswI-J-M2SE/0.jpg)](https://www.youtube.com/watch?v=SswI-J-M2SE)
245-
246-
[![NodeMCU ESP8266 Tutorial 02: WiFi Hack with ESP8266 (NodeMCU WiFi Jammer)](https://img.youtube.com/vi/MOscKnm8IcY/0.jpg)](https://www.youtube.com/watch?v=MOscKnm8IcY)
247-
248260
## License
249261

250262
This project is licensed under the MIT License - see the [license file](LICENSE) file for details.
251263

252-
**The License file must be included in any redistributed version of this program!**
264+
**The License file must be included in any redistributed version of this program!**
265+
Any redistributing, advertising or selling of this project as "jammer" without clearly stating it as a pentesting device for testing purposes only, is prohibited!
253266

254267
## Sources and additional links
255268

esp8266_deauther/APScan.cpp

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,22 +251,28 @@ void APScan::sort() {
251251
tmpC = selected[h];
252252
selected[h] = selected[h + 1];
253253
selected[h + 1] = tmpC;
254+
255+
Mac tmpMac = aps._get(h);
256+
aps.set(h,aps._get(h+1));
257+
aps.set(h+1,tmpMac);
258+
254259
} else Serial.println((String)rssi[h] + " < " + (String)rssi[h + 1]);
255260
}
256261
}
257262
}
258263

259264
void APScan::select(int num) {
260265
if (debug) Serial.println("select " + (String)num + " - " + !selected[num]);
261-
if (selected[num]) {
262-
selected[num] = false;
263-
selectedSum--;
264-
} else {
265-
selected[num] = true;
266-
selectedSum++;
266+
if(!settings.multiAPs){
267+
for (int i = 0; i < maxAPScanResults; i++){
268+
if(i != num) selected[i] = false;
269+
}
267270
}
271+
selected[num] = !selected[num];
272+
if (selected[num]) selectedSum--;
273+
else selectedSum++;
268274
}
269275

270276
bool APScan::isSelected(int num) {
271277
return selected[num];
272-
}
278+
}

0 commit comments

Comments
 (0)