Skip to content

Using esp8266 Module, attacking the different wifi network and creating fake .

License

Notifications You must be signed in to change notification settings

karanankit01/WifiJammer

Repository files navigation

WifiJammer and Fake hotspot

Using esp8266 Module, attacking the different wifi network and creating fake .
Making Wi-Fi Jammer using NodeMCU:
Contents
1 Making Wi-Fi Jammer using NodeMCU:
2 Method 1: Uploading Jammer Arduino sketch into ESP12
3 Running the NodeMCU Wi-Fi Jammer:
4 Make multiple fake WiFi networks ( Another Feature )
5 Method 2: Uploading Wi-Fi Jammer firmware into ESP12 using ESP8266 flasher ( Simple Way )
For this, you will have to burn the code or firmware into NodeMCU to use as a Wi-Fi jammer. There are two methods we will be discussing which you can use.


Method 1: Uploading Jammer Arduino sketch into ESP12
Step 1: First, we will start by uploading the Arduino code. Go to File>Preferences in Arduino IDE and add this link
1. (http://arduino.esp8266.com/stable/package_esp8266com_index.json )
2.(https://raw.githubusercontent.com/wiki/tobozo/Arduino/package_deauther_index.json)
to the Additional Boards Manager URLs and select OK.
Now close the Arduino IDE and reopen.
Step 2: Go to Tools > Board > Board Manager. Search for ESP8266 and select ESP8266 (version 2.0.0 as this code will only work for this version).
Step 3: Now go to File>Preferences and select the folder path under ‘More Preferences’. Now open ESP8266 > hardware > ESP8266 > 2.0.0 > tools > sdk > and open the ‘user_interface.h’ file with text editor
Step 4: Go to the last line of the code and before #endif add these lines:
typedef void (** freedom_outside_cb__t)(uint8 status);
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);
After this Save the file.
Step 5: Now extract the library you downloaded earlier and open it. open: esp8266_deauther-master -> esp8266_deauther -> esp8266_deauther.ino



This will be the sketch that we will upload into the NodeMCU; this sketch it to be compiled. In case of error install these libraries.
1.ArduinoJson
2.ESP8266 OLED SSD1306
3.Adafruit NeoPixel
4.LinkedList

Our code is ready to be uploaded. Connect the NodeMCU to your PC, go to Tools menu and select NodeMCU esp-12E, select the correct port and then upload.

----------------Some Common Errors----------------

Drivers and COM Port

In order to upload successfully, you must select the correct COM port. You can think of it as the address with that your computer accesses the ESP8266. The best way to find the correct port is to open the Arduino IDE and see what ports are listed there. This looks the same for every OS, including Linux. On Windows, COM1 is usually never the correct port. On Windows you can also have a look at your device manager, there you can also see if a device is not recognized.
If none of the COM ports work correctly or you can't find any COM Port, you might need to install the drivers.
The driver you need depends on the UART (USB to Serial) chip that is used on your development board.
Those are the drivers of the most used chips:
💾 CP2102(https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)
💾 CH340(https://sparks.gogo.co.nz/ch340.html)

Upload Settings in Arduino Ide Those are the recommended upload/compile settings for Arduino:
Board: Generic ESP8266 Module
Flash Mode: DOUT
Flash Frequency: 80 MHZ
CPU Frequency: 160 MHz
Flash Size: 1M (256K SPIFFS)
Reset Method: nodemcu
Upload Speed: 115200
Port: < com port of your device >

About

Using esp8266 Module, attacking the different wifi network and creating fake .

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published