You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);`
118
124
119
125

120
126
@@ -124,19 +130,54 @@ Make sure you select the right com-port, the right upload size of your ESP8266 a
124
130
125
131
**13** Copy ESP8266Wi-Fi.cpp and ESP8266Wi-Fi.h
126
132
127
-
**14**Past these files here `packages` > `esp8266` > `hardware` > `esp8266` > `2.0.0` > `libraries` > `ESP8266Wi-Fi` > `src`
133
+
**14**Paste these files here `packages` > `esp8266` > `hardware` > `esp8266` > `2.0.0` > `libraries` > `ESP8266WiFi` > `src`
128
134
129
135
**15** Open `esp8266_deauther` > `esp8266_deauther.ino` in Arduino
130
136
131
137
**16** Select your ESP8266 board at `Tools` > `Board` and the right port at `Tools` > `Port`
132
138
If no port shows up you may have to reinstall the drivers.
133
139
134
-
**17** Upload!
140
+
**17** Depending on your board you may have to adjust the `Tools` > `Board` > `Flash Frequency` and the `Tools` > `Board` > `Flash Size`. In my case i had to use a `80MHz` Flash Frequency, and a `4M (1M SPIFFS)` Flash Size
141
+
142
+
**18** Upload!
135
143
136
144
**Note:** If you use a 512kb version of the ESP8266, you need to comment out a part of the mac vendor list in data.h.
137
145
138
146
**Your ESP8266 Deauther is now ready!**
139
147
148
+
149
+
### Adding OLED display
150
+
151
+

152
+
153
+
**0** Follow the steps [above](#compiling-the-source-with-arduino) to get your Arduino environment ready.
154
+
155
+
**1** Install this OLED driver library: https://github.com/squix78/esp8266-oled-ssd1306
156
+
157
+
**2** Custimize the code for your wiring.
158
+
In `esp8266_deauther.ino` uncomment `#define USE_DISPLAY`.
159
+
Then scroll down and custimize these lines depending on your setup.
160
+
I used a Wemos d1 mini with a SSD1306 128x64 OLED and 3 push buttons.
161
+
162
+
//include the library you need
163
+
#include "SSD1306.h"
164
+
//#include "SH1106.h"
165
+
166
+
//button pins
167
+
#define upBtn D6
168
+
#define downBtn D7
169
+
#define selectBtn D5
170
+
171
+
#define buttonDelay 180 //delay in ms
172
+
173
+
//render settings
174
+
#define fontSize 8
175
+
#define rowsPerSite 8
176
+
177
+
//create display(Adr, SDA-pin, SCL-pin)
178
+
SSD1306 display(0x3c, D2, D1);
179
+
//SH1106 display(0x3c, D2, D1);
180
+
140
181
## How to use it
141
182
142
183
First start your ESP8266 by giving it power.
@@ -169,7 +210,7 @@ Yes, but I will not implement this 'feature' for ethical and legal reasons.
169
210
**Can it sniff handshakes?**
170
211
171
212
The ESP8266 has a promiscuous mode in which you can sniff packets, but handshake packets are dropped and there is no other way to get them with the functions provided by the SDK.
172
-
Maybe someone will find a way around this barrier.
213
+
Maybe someone will find a way around this barrier in the future.
173
214
174
215
**espcomm_sync failed/espcomm_open when uploading**
175
216
@@ -181,21 +222,31 @@ Which drivers you need depends on the board, most boards use a cp2102 or ch340.
181
222
**AP scan doesn't work**
182
223
183
224
There is a reported issue on this: https://github.com/spacehuhn/esp8266_deauther/issues/5
184
-
Try out switching the browser or open the website with another device.
225
+
Try switching the browser or opening the website with another device.
185
226
186
227
**Deauth attack won't work**
187
228
188
-
If you see 0 pkts/s on the website you've made a mistake. Check if you have followed the the installation steps correctly and that the right SDK installed, it must be version 2.0.0!
189
-
If it can send packets but your target don't loose its connection then the Wi-Fi router uses [802.11w](#how-to-protect-against-it) and it's protected against such attacks or they communicate via 5 GHz Wi-Fi, which the ESP8266 doesn't support.
190
-
229
+
If you see 0 pkts/s on the website then you've made a mistake. Check that have followed the the installation steps correctly and that the right SDK installed, it must be version 2.0.0!
230
+
If it can send packets but your target doesn't loose its connection, then the Wi-Fi router either uses [802.11w](#how-to-protect-against-it) and it's protected against such attacks, or it communicates on the 5GHz band, which the ESP8266 doesn't support because of its 2.4GHz antenna.
191
231
192
-
###If you have other questions or problems with the ESP8266 you can also check out the official [community forum](http://www.esp8266.com/).
232
+
###If you have other questions or problems with the ESP8266 you can also check out the official [community forum](http://www.esp8266.com/).
0 commit comments