loading

First, I just want to mention about few things which were in my mind before I could make my project. As Samy Kamkar said in Hackaday superconference that we should move towards low-cost hacking/exploitation tools could think only about NodeMCU as it was the only cheap MCU I knew that has wifi.

Before that, I only knew the ESP8266 as an IoT module and I could only make things like home automation or the simple 2 led control using the ugly HTML page. Unlike other commercially availably wifi jammers would burn several holes in my pockets having a hefty price tag of at least 45 $ (checked on amazon and eBay).

That time I had I had fewer savings as the raspberry pi was very costly for me (almost 43$, god only knows why it is so costly in India). not use many wifi jammers are proprietary and I could not make many tweaks in them. I could not resist myself to upload this instructable as this project is is a success for me.

When I had uploaded this instructable some people could not use the wifi jammer properly this is the revised version of the wifi jammer.

In this instructable, you will learn how to make a low-cost wifi jammer using ESP8266

Depiction

Assemble your own WiFi jammer with an ESP8266. You select the customers you need to disengage from their system and begin the assault. For whatever length of time that the assault is running, the chose gadgets can't associate with their system. You can examine for systems, filter for customer gadgets, and begin distinctive assaults.

Points of interest

Fabricate your own WiFi jammer with an ESP8266

What it will be: It's a gadget which plays out a deauth attack.You select the customers you need to separate from their system and begin the assault. For whatever length of time that the attack is running, the chosen gadgets can't interface with their system.

How it functions:

The 802.11 WiFi convention contains an alleged deauthentication outline. It is utilized to detach customers securely from a remote system. Since these bundles are decoded, you simply require the MAC address of the WiFi switch and of the customer gadget which you need to detach from the system. You don't should be in the system or know the password, it's sufficient to be in its range.

What an ESP8266 is:

The ESP8266 is an exceptionally shoddy microcontroller with implicit WiFi. It contains a capable 160 MHz processor and you can program it with the Arduino IDE. This makes it ideal for this venture.

Step 1: ​Disclaimer

Utilize it just to test purposes all alone gadgets!

If it's not too much trouble check the legitimate controls in your nation before utilizing it. Sticking transmitters are unlawful in many nations and this gadget can fall into a similar classification (regardless of the possibility that it's in fact not the same). My aim with This venture is to attract consideration regarding this issue. This attack indicates how vulnerable is the 802.11 WiFi standard is and that it must be settled.

https://github.com/spacehuhn/esp8266_deauther

Step 2: Installation

The main thing you will need is a PC and an ESP8266 /NodeMCU with no less than 1Mb of flash memory.

I prescribe you to purchase a USB breakout/engineer board since they have 4Mb flash and are extremely easy to utilize. It doesn't make a difference which board you use, the length of it has an ESP8266 on it.(If you utilizing an ESP-01 with only 512kb, you can comment out the MAC Vendor list in data.h.)

1. Install Arduino and open it.

2. Go to File > Preferences

3. Add to the Additional Boards Manager URLs.

http://arduino.esp8266.com/stable/package_esp8266c...

4. Go to Tools>Board > Boards Manager

5. Type in esp8266

6. Select version 2.0.0 and click on Install (must be version 2.0.0!)

7. Go to File > Preferences

8. Open the folder path under More preferences can be edited directly in the file

9. Go to packages > esp8266 > hardware > esp8266 > 2.0.0 > tools > sdk > include

10. Open user_interface.h with a text editor 11. Scroll down and before #endif add following lines:

typedef void (*freedom_outside_cb_t)(uint8 status); <br>int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);
void wifi_unregister_send_pkt_freedom_cb(void);
int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);

And don't forget to save!

12 Go to the SDK_fix folder of this project

13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h

14 Paste these files here packages > esp8266 > hardware > esp8266 > 2.0.0 > libraries > ESP8266WiFi > src (watch the video below)

15 Open esp8266_deauther > esp8266_deauther.ino in Arduino (watch the video below)

16 Select your ESP8266 board at Tools > Board and the right port at Tools > PortIf no port shows up you may have to reinstall the drivers.

17 Upload! 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. Your ESP8266 Deauther is now ready!

Step 3: How to Use It

Step 1

To begin with, begin your ESP8266 by giving it powering it . You can do as such by associating it to the power bank or the USB connector. You can likewise interface with USB ports in Laptops.

Step 4:

Scan for WiFi networks and connect to pwned. The password is deauther. Once connected, you can open up your browser and go to 192.168.4.1

You can now scan for networks.

Step 5:

Scan for client devices.

Note: While scanning the ESP8266 will shut down its access point, so you may have to go to your settings and reconnect to the WiFi network manually.

Step 7:

FAQ

Do you have a GitHub page where I can simply get the refreshed code for the activities?

Obviously. I will always keep the refreshed code at GitHub. Here is the URL

Would it be able to auto-deauth all APs in the range?

Yes, yet I won't actualize this "highlight" for moral and legitimate reasons.

Can it sniff handshakes?

The ESP8266 has an unbridled mode in which you can sniff bundles, yet handshake parcels are dropped and there is no other approach to get them with the capacities gave by the SDK.Maybe somebody will discover a route around this obstruction however, I couldn't. Maybe in future...

espcomm_sync fizzled/espcomm_open while transferring

The Arduino IDE can't speak with the chip, ensure the correct port is selected!You can likewise experiment with various USB ports and cables.If this doesn't understand it you may need to introduce USB drivers.Which drivers you require relies on upon the board, most sheets utilize a cp2102, cp2104 or ch340.

AP check doesn't work

There is a revealed issue on this: exchanging the program or open the site with another device.A

Deauth attack won't work

In the event that you see 0 pkts/s on the site, you have committed an error. Check on the off chance that you have taken after the means accurately and that the privilege SDK introduced, it must be 2.0.0!If it can send parcels yet your objective don't free its association then the WiFi switch utilizes 802.11w and it's ensured against such assaults or they impart by means of 5 GHz WiFi, which the ESP8266 doesn't.

On the off chance that you have different inquiries or issues with the ESP8266 you can likewise look at the official group discussion.

License

This venture is authorized under the MIT License - see the Licence document display in for points of interest

Step 8:

Journey through Electronics

Hi, my name is Tejas. I am 18 years old. I have been interested in electronics since I was a 9-year-old kid. My most favourite pastime activity was to disassemble toys and figure out the components. When I was 11 years of age, I started disassembling radios, mobile chargers and watches. Sometimes people would get irritated because of these deeds and thought that I am just breaking stuff.

When I got my first computer at 12 years, it was amazing. Using it I learnt about something called the internet which was way wonderful than books. The only thing I was interested was hacking hardware. In 2015 I heard about rubber ducky. I could never place hands one because For me in India it was a distant dream and I was just searching on youtube how to make one. some were fake some were too complicated due to which I found ethical hacking too interesting. for that, I again turned to youtube. Learnt some practical work was unable to learn things like crypto which were way boring.

Then on Instructables, I saw many posts about Arduino and learnt electronics. that was the first time of me in actual DIY electronics. my first board was Arduino Uno. from then journey never stopped. I always kept researching about various dev boards-Arduino Leonardo, pro micro and the latest Raspberry pi 3. I was amused but the fact that Arduino pro micro (Leonardo) could be used as HID. Also, the Digispark was also cool. A board which myself and my friends found very interesting.

In late 2016 while I was watching ethical hacking tutorials-wifi hacking using aircrack in kali Linux, the instructor always mentioned that for cracking the wifi password, the client should authenticate with the AP. This lets me in thinking that if I kick out the client on theAP so that it will connect back then I will be able to capture authentication packets. That was the time this wifi jammer using esp8266 was born. Made my jobs much easier and enjoying it.

<p>can anyone help me out? pleeeease :3</p><p>Arduino: 1.8.2 (Windows 7), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>In file included from sketch\Attack.h:9:0,</p><p> from sketch\Attack.cpp:1:</p><p>C:\Users\Hrishikesh\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:449:53: error: expected unqualified-id before '&lt;' token</p><p> typedef void (*freedom_outside_cb_t)(uint8 status); &lt;br&gt;int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);</p><p> ^</p><p>exit status 1</p><p>Error compiling for board NodeMCU 0.9 (ESP-12 Module).</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>watch this video clip to see the error</p>
<p>this is what im getting. Any help would be greatly appreciated. Thank you</p><p>Arduino: 1.8.2 (Windows 10), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>C:\Users\jeang\AppData\Local\Temp\Temp1_esp8266_deauther-master.zip\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:60:22: fatal error: NameList.h: No such file or directory</p><p> #include &quot;NameList.h&quot;</p><p> ^</p><p>compilation terminated.</p><p>exit status 1</p><p>Error compiling for board NodeMCU 0.9 (ESP-12 Module).</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>or just text me on whatsapp, ill guide you! +919022664577 :D</p>
<p>you did a mistake in editing the user_interface.h! there should be a blank line before and after the code you just pasted! just go to the files you downloaded from this page (last link above) Go to the SDK_fix folder and you will find the user_interface.h file! thats already edited! use that file insted of editing yourself! ;)</p>
<p>Nice work again. How do you load the BIN files (precompiled, I presume) into an ESP-01?</p>
<p>in Windows 10 I use nodeMCU flasher<a href="https://github.com/nodemcu/nodemcu-flasher"> https://github.com/nodemcu/nodemcu-flasher</a> and in ubuntu I use esptool <a href="https://pypi.python.org/pypi/esptool">https://pypi.python.org/pypi/esptool</a></p>
<p>Thanks!</p>
<p>There are more #endif which one should I put the text in front of?</p>
<p>Someone please help me I tried everything what am I doing wrong? here is my error code.</p><p>Arduino: 1.8.2 (Windows 10), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>In file included from sketch\Attack.h:9:0,</p><p> from sketch\Attack.cpp:1:</p><p>C:\Users\Kris\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:451:53: error: expected unqualified-id before '&lt;' token</p><p> typedef void (*freedom_outside_cb_t)(uint8 status); &lt;br&gt;int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);</p><p> ^</p><p>exit status 1<br>Error compiling for board NodeMCU 0.9 (ESP-12 Module).</p><div>This report would have more information with<br>&quot;Show verbose output during compilation&quot;<br>option enabled in File -&gt; Preferences.</div>
<p>still having issues.. heres my error message</p><p>Arduino: 1.8.2 (Mac OS X), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (1M SPIFFS)&quot;</p><p>Build options changed, rebuilding all</p><p>Archiving built core (caching) in: /var/folders/1m/ckwqnj8x0ng7h4w1xmbpgjdm0000gn/T/arduino_cache_77809/core/core_esp8266_esp8266_nodemcu_CpuFrequency_80,UploadTool_esptool,UploadSpeed_115200,FlashSize_4M1M_dbc3a85c44be636c51289b2010c09d5c.a</p><p>Sketch uses 547116 bytes (52%) of program storage space. Maximum is 1044464 bytes.</p><p>Global variables use 55710 bytes (68%) of dynamic memory, leaving 26210 bytes for local variables. Maximum is 81920 bytes.</p><p>warning: espcomm_sync failed</p><p>error: espcomm_open failed</p><p>error: espcomm_open failed</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>can someone please help me i don't understand where i went wrong...</p><p>Arduino: 1.8.2 (Mac OS X), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>Archiving built core (caching) in: /var/folders/1m/ckwqnj8x0ng7h4w1xmbpgjdm0000gn/T/arduino_cache_23433/core/core_esp8266_esp8266_nodemcu_CpuFrequency_80,UploadTool_esptool,UploadSpeed_115200,FlashSize_4M3M_dbc3a85c44be636c51289b2010c09d5c.a</p><p>Sketch uses 547116 bytes (52%) of program storage space. Maximum is 1044464 bytes.</p><p>Global variables use 55710 bytes (68%) of dynamic memory, leaving 26210 bytes for local variables. Maximum is 81920 bytes.</p><p>error: cannot access COM1</p><p>error: espcomm_open failed</p><p>error: espcomm_open failed</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>run the arduino IDE with admin/root privileges</p>
<p>hey tejas, thanks, it said done compling. but i take it off, and try to search the network and it doesn't say pwnd, its named ESP_16CCE2</p>
<p>tried your fix it didnt work. </p><p>Still get error compiling for board nodemcu 0.9 (esp 12 module)</p>
<p>it's just copying and pasting of two files. If you are unable to just copy the files from one directory to another please watch the video <a href="https://youtu.be/ZFPS0kJ6wPI">https://youtu.be/ZFPS0kJ6wPI</a> I will not solve this issue thereafter as it was asked multiple times.</p>
<p>thank you copy and paste done</p>
<p>Arduino: 1.8.2 (Windows 10), Board: &quot;NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>sketch\APScan.cpp: In member function 'bool APScan::start()':</p><p>APScan.cpp:14: error: no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&amp;)'</p><p> results = WiFi.scanNetworks(false, settings.apScanHidden); // lets scanNetworks return hidden APs. (async = false &amp; show_hidden = true)</p><p> ^</p><p>sketch\APScan.cpp:14:59: note: candidate is:</p><p>In file included from sketch\APScan.h:6:0,</p><p> from sketch\APScan.cpp:1:</p><p>C:\Users\Tyler\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: int8_t ESP8266WiFiClass::scanNetworks(bool)</p><p> int8_t scanNetworks(bool async = false);</p><p> ^</p><p>C:\Users\Tyler\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: candidate expects 1 argument, 2 provided</p><p>exit status 1</p><p>no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&amp;)'</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
Hi !<br>Congratulations to your project. I have implemented it on a D1 Mini and it works fantastic. Now I plan to add a second ESP8266 and separating the controlling and reporting functions from the actual sniffing and &quot;working&quot; functions. This allows to stay connected while the second ESP8266 does the part of analyzing the other nets. I plan to use a ESP-01 (with upgraded memory). If somebody has similar ideas, please comment.
<p>I have built the version which includes a display and 3 buttons. It works !!!</p>
that's really cool, dude. Keep your great work up.
<p>Arduino: 1.8.1 (Mac OS X), Board: &quot;NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>In file included from sketch/Attack.h:9:0,</p><p> from sketch/Attack.cpp:1:</p><p>/Users/rohanappleseed/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/user_interface.h:451:39: error: 'freedom_outside_cb_t' was not declared in this scope</p><p> int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb); void wifi_unregister_send_pkt_freedom__cb(void); int wifi_send_pkt_freedom(uint8 **buf, int len, bool sys_seq);</p><p> ^</p><p>sketch/Attack.cpp: In member function 'bool Attack::send()':</p><p>Attack.cpp:102: error: cannot convert 'uint8_t* {aka unsigned char*}' to 'uint8** {aka unsigned char**}' for argument '1' to 'int wifi_send_pkt_freedom(uint8**, int, bool)'</p><p> if (wifi_send_pkt_freedom(packet, packetSize, 0) == -1) {</p><p> ^</p><p>exit status 1</p><p>cannot convert 'uint8_t* {aka unsigned char*}' to 'uint8** {aka unsigned char**}' for argument '1' to 'int wifi_send_pkt_freedom(uint8**, int, bool)'</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>Arduino: 1.8.2 (Mac OS X), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>Build options changed, rebuilding all</p><p>Archiving built core (caching) in: /var/folders/pl/zqwzxlkn0bd998n6_7jcgh2r0000gn/T/arduino_cache_182849/core/core_esp8266_esp8266_nodemcu_CpuFrequency_80,UploadTool_esptool,UploadSpeed_115200,FlashSize_4M3M_ba91559f3157859782897fe30a97c4a3.a</p><p>Sketch uses 547108 bytes (52%) of program storage space. Maximum is 1044464 bytes.</p><p>Global variables use 55694 bytes (67%) of dynamic memory, leaving 26226 bytes for local variables. Maximum is 81920 bytes.</p><p>An error occurred while uploading the sketch</p><p>warning: espcomm_sync failed</p><p>error: espcomm_open failed</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>Arduino: 1.8.2 (Windows Store 1.8.3.0) (Windows 10), Board: &quot;NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>Build options changed, rebuilding all<br>In file included from sketch\Attack.h:9:0,</p><p> from sketch\Attack.cpp:1:</p><p>C:\Users\knox1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:449:53: error: expected unqualified-id before '&lt;' token</p><p> typedef void (*freedom_outside_cb_t)(uint8 status); &lt;br&gt;int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);</p><p> ^</p><p>exit status 1<br>Error compiling for board NodeMCU 1.0 (ESP-12E Module).</p><div>This report would have more information with<br>&quot;Show verbose output during compilation&quot;<br>option enabled in File -&gt; Preferences.</div>
<p>you have opened a wrong file.First open the esp8266_deauther-master folder and navigate to esp8266_deauther and open esp8266_deauther.ino in Arduino IDE. Some header files will aso be opende in the IDE. DO NOT CLOSE THEM and you are good to go.</p>
<p>i had the same message and that doesnt fix it for me</p>
<p>Arduino: 1.8.2 (Mac OS X), Board: &quot;NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>Archiving built core (caching) in: /var/folders/51/sf0tph254l9bhgldm_42pgxr0000gn/T/arduino_cache_2510/core/core_esp8266_esp8266_nodemcuv2_CpuFrequency_80,UploadTool_esptool,UploadSpeed_115200,FlashSize_4M3M_be2fcc30d1b059104c1f786b9a36e765.a</p><p>Sketch uses 545112 bytes (52%) of program storage space. Maximum is 1044464 bytes.</p><p>Global variables use 55538 bytes (67%) of dynamic memory, leaving 26382 bytes for local variables. Maximum is 81920 bytes.</p><p>An error occurred while uploading the sketch</p><p>error: cannot access COM1</p><p>error: espcomm_open failed</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>What did I do wrong?????</p><p>Arduino: 1.8.2 (Mac OS X), Board: &quot;NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>Build options changed, rebuilding all</p><p>In file included from sketch/Attack.h:9:0,</p><p> from sketch/Attack.cpp:1:</p><p>/Users/Holland/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/user_interface.h:449:53: error: expected unqualified-id before '&lt;' token</p><p> typedef void (*freedom_outside_cb_t)(uint8 status); &lt;br&gt;int wifi_register_send_pkt_freedom_cb(freedom_outside__cb_t cb);</p><p> ^</p><p>exit status 1</p><p>Error compiling for board NodeMCU 1.0 (ESP-12E Module).</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>What did i do wrong?</p><p>Arduino: 1.8.2 (Mac OS X), Board: &quot;NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)&quot;</p><p>In file included from sketch/Attack.h:9:0,</p><p> from sketch/Attack.cpp:1:</p><p>/Users/andrewholland/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/user_interface.h:449:53: error: expected unqualified-id before '&lt;' token</p><p> typedef void (*freedom_outside_cb_t)(uint8 status); &lt;br&gt;int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);</p><p> ^</p><p>exit status 1</p><p>Error compiling for board NodeMCU 0.9 (ESP-12 Module).</p><p>This report would have more information with</p><p>&quot;Show verbose output during compilation&quot;</p><p>option enabled in File -&gt; Preferences.</p>
<p>When i scan for networks to attack nothing shows up can someone please help me solve this issue</p>
<p>Really nice work !</p><p>One error came up when compiling:</p><p>Line 450 in user_interface.h should read :</p><p>int wifi_register_send_pkt_freedom_cb(freedom_outside_cb__t cb);</p><p>(Step 2.10, copying lines into the file, one additional underline is missing)</p>
<p>thanks for bringing it to the notice of other people. but surprisingly it worked for me with the single underscore</p>
<p>Hy Tejas !</p><p>Congratulation for your great job ! =)</p><p>I can not wait to use it !</p><p>I followed your steps, and i have a compilation error, maybe you have a tips for a beginner for me to succeed !</p><p>Thanks for your share spirit =)</p><p>here the log :</p><p>Compiling sketch...</p><p>&quot;C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++&quot; -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include&quot; -c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10801 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\variants\d1_mini&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WebServer\src&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266mDNS&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\EEPROM&quot; &quot;C:\Users\julien\AppData\Local\Temp\arduino_build_381540\sketch\APScan.cpp&quot; -o &quot;C:\Users\julien\AppData\Local\Temp\arduino_build_381540\sketch\APScan.cpp.o&quot;</p><p>&quot;C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++&quot; -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include&quot; -c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DARDUINO=10801 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266 -DESP8266 &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\variants\d1_mini&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WebServer\src&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266mDNS&quot; &quot;-IC:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\EEPROM&quot; &quot;C:\Users\julien\AppData\Local\Temp\arduino_build_381540\sketch\Attack.cpp&quot; -o &quot;C:\Users\julien\AppData\Local\Temp\arduino_build_381540\sketch\Attack.cpp.o&quot;</p><p>In file included from C:\Users\julien\AppData\Local\Temp\arduino_build_381540\sketch\Attack.h:7:0,</p><p>from C:\Users\julien\AppData\Local\Temp\arduino_build_381540\sketch\Attack.cpp:1:</p><p>C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:451:53: error: expected unqualified-id before '&lt;' token</p><p>typedef void (*freedom_outside_cb_t)(uint8 status); &lt;br&gt;int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);</p><p>^</p><p>Using library ESP8266WiFi at version 1.0 in folder: C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi</p><p>Using library ESP8266WebServer at version 1.0 in folder: C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WebServer</p><p>Using library ESP8266mDNS in folder: C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266mDNS (legacy)</p><p>Using library EEPROM at version 1.0 in folder: C:\Users\julien\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\EEPROM</p><p>exit status 1</p>
<p>hy again,</p><p>i find the problem,</p><p>on your tutorial, step 13 </p><p>&gt;&gt; &quot;13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h&quot;</p><p>you need to copy &quot;user_interface&quot; in more, from SDK_fix folder of this project to packages &gt; esp8266 &gt; hardware &gt; esp8266 &gt; 2.0.0 &gt; tools &gt; sdk &gt; include</p><p>it's work</p>
<p>watch my video on that issue https://www.youtube.com/watch?v=ZFPS0kJ6wPI</p>
<p>can you go into more detail on how you did this step.thank you.</p>
<p>update to the latest SDK and it will work as expected</p>
<p>can someone explain where to paste step 13 </p>
<p>watch my video on that. https://www.youtube.com/watch?v=ZFPS0kJ6wPI</p>
<p>i am not getting port of esp8266. how to reinstall drivers.</p>
<p>when i scan for a network nothing shows up can somone please help me</p>
Try using different browsers and different devices. It will solve the problem.
It still does not work i tried with my laptop and phone and i use chrome the same browser you used
<p>The Port won't even appear for me... I've plugged the ESP8266 into my computer, the blue light flashed but won't appear on the Ports... What do I do...</p>
Open device manager and scroll down to COM and LPTthere you will notice something like usb to ftdi connector or similar to that. Next to it port no will be written. That will be the port number for esp8266
<p>Hello! I really appreciate your reply but I am on MAC and we don't have 'device manager' on the system. Do you know the settings on MAC? Thank you! </p>
<p>sorry. i never tried MAC. i use windows and Linux only.</p>
<p>I have connected to pwned but when i enter 192.168.4.2, the page never loads. Is there something I did wrong?</p>
Dude it's 192.168.4.1 and not 192.168.4.2
<p>I installed this, it worked fine and now I am intrigued by the ESP8266 and want to try other things. I am a newbie and I just can't understand how to remove this. I tried overwriting with another Arduino sketch but it didn't get rid of the &quot;pwned&quot; SSID </p>

About This Instructable

19,752views

188favorites

Bio: Hi, I am a hardware hacker. I am passionately interested in nodeMCU, Raspberry Pi3 and Arduino. I also like to play with electronics.
More by mrtejaslol:PIR Controlled Relay WiFi Jammer Using ESP8266 
Add instructable to: