spacehuhntech / esp8266_deauther Goto Github PK
View Code? Open in Web Editor NEWAffordable WiFi hacking platform for testing and learning
Home Page: http://deauther.com
License: Other
Affordable WiFi hacking platform for testing and learning
Home Page: http://deauther.com
License: Other
Is it still possible to deauthenticate with hidden SSID. The NodeMCU doesn't broadcast it's SSID.
Here's the code:
void softAP(const char* ssid, const char* passphrase, int channel = 1, int ssid_hidden = 0);
Arduino: 1.6.13 (Windows 10), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"
Build options changed, rebuilding all
sketch\Attack.cpp: In member function 'bool Attack::send(uint8_t*, int)':
Attack.cpp:41: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(buf, len, 0) == -1){
^
sketch\Attack.cpp: In member function 'void Attack::run()':
Attack.cpp:179: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(deauthPacket, 26, 0) == -1){/*
^
Attack.cpp:190: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(deauthPacket, 26, 0) == -1){/*
^
Attack.cpp:221: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(packet, packetSize, 0) == -1){/*
^
exit status 1
'wifi_send_pkt_freedom' was not declared in this scope
How about adding a server.on('/manifest.json', sentJSONManifest) with a full list of HTML/CSS/Js/image files available in data.h?
I imagine at least three benefits for that:
https://github.com/spacehuhn/esp8266_deauther/tree/testing
Changelog:
I want to merge this as soon as possible but there are probably new bugs in it so please test and report here if everything works :) thanks.
Hi
I uploaded the code to my esp 01 via a usb to serial converter and the esp does not create the AP and do not send "Starting" to the serial port. what am I doing wrong?
Add a reboot option on the web interface.
I thing I have my code to work but it won't upload
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_open failed
I am a starting with programing and stuff like that.
thx for help Jonas
When i compile i get the following:
Sketch uses 518059 bytes (49%) of program storage space. Maximum is 1044464 bytes.
Global variables use 43640 bytes (53%) of dynamic memory, leaving 38280 bytes for local variables. Maximum is 81920 bytes.
Looks good to me.
When i try to upload it though esp8266_deauther arduino file to esp8266 i get the following error
error: Failed to open COM1
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
The tools > port is grayed out. Tried multiple usb cables and usb ports. Thank you in advance for any help.
I have no clue what im doing. Just trying to learn.
Cheers,
Kevin
When i try to upload it just gives me this error:
\System folders\Overførsler\esp8266_deauther-master\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino: In function 'void setup()':
esp8266_deauther:70: error: 'load404' was not declared in this scope
esp8266_deauther:72: error: 'loadIndex' was not declared in this scope
esp8266_deauther:74: error: 'loadClients' was not declared in this scope
esp8266_deauther:75: error: 'loadAttack' was not declared in this scope
esp8266_deauther:76: error: 'loadFunctionsJS' was not declared in this scope
esp8266_deauther:79: error: 'loadStyle' was not declared in this scope
esp8266_deauther:82: error: 'sendAPResults' was not declared in this scope
esp8266_deauther:83: error: 'startAPScan' was not declared in this scope
esp8266_deauther:84: error: 'selectAP' was not declared in this scope
esp8266_deauther:85: error: 'startClientScan' was not declared in this scope
esp8266_deauther:86: error: 'sendClientResults' was not declared in this scope
esp8266_deauther:87: error: 'selectClient' was not declared in this scope
esp8266_deauther:88: error: 'setClientName' was not declared in this scope
esp8266_deauther:89: error: 'sendAttackInfo' was not declared in this scope
esp8266_deauther:90: error: 'startAttack' was not declared in this scope
exit status 1
'load404' was not declared in this scope
I just cloned the project. I use the 2.0.0 SDK with an ESP-12E. And i also remembered to add the lines to user_interface.
Hi i'm trying to compile the code but i get this error message, does anyone knows how to fix it? thanks so much!
Arduino: 1.8.1 (Windows 10), Placa:"Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"
esp8266_deauther:1: error: stray '#' in program
do#include <Arduino.h>
^
esp8266_deauther:1: error: expected unqualified-id before 'do'
do#include <Arduino.h>
^
In file included from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\new:40:0,
from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\ext\new_allocator.h:33,
from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf\bits\c++allocator.h:33,
from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\allocator.h:46,
from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:63,
from C:\Users\Lucas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/WiFiClient.h:28,
from C:\Users\Lucas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:32,
from C:\Users\Lucas\Desktop\wifi jammer\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:3:
c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\exception:35:37: error: expected declaration before end of line
#pragma GCC visibility push(default)
^
exit status 1
stray '#' in program
Este relatório teria mais informações com
"Mostrar a saida detalhada durante a compilação"
opção pode ser ativada em "Arquivo -> Preferências"
Can you add a feature to preselect WiFi ssids? like if I know the ssid of the WiFi of the place I'm going to, I'll select it before leaving and it'll start spamming deauth packets to that WiFi. Whether by waiting to detect the specific ssid or spamming deauth packets dedicated to that WiFi before getting in its vicinity. Is it even possible? if yes can you add it please
i keep getting this error when i try to compile the script and i know i the board is set right in tools.
Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"
Build options changed, rebuilding all
In file included from C:\Users\Jaye\Desktop\esp8266_deauther\esp8266_deauther.ino:8:0:
C:\Users\Jaye\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:451:2: error: invalid preprocessing directive #typedef
#typedef void (*freedom_outside_cb_t)(uint8 status);
^
C:\Users\Jaye\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:452:2: error: invalid preprocessing directive #int
#int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);
^
C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:453:2: error: invalid preprocessing directive #void
#void wifi_unregister_send_pkt_freedom_cb(void);
^
C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:454:2: error: invalid preprocessing directive #int
#int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);
^
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Removed.
Can we perform a mitm with this to sniff the traffic or to get the password of the ap?
How to modify the esp8266_deauther .html files i try but not working.
i'm edit the index.html then upload its not showing in the browser.
A feature to conduct timed deauthentication. For example, deauth for 5min and stop 2min and again start deauth.
Also an option to change these values from web interface.
frimware update is feature needed without arduino upload latest deauther codes to esp8266 memory and then reboot done. only first time flash required then code upload using any web browser pc and mobile.
I've edited the ssid and the password char value in the sketch multiple times and also uploaded them multiple times. But the the ssid wont change from "pwned" nor would the password from "deauther"
Add an option to change MAC address.
I'm getting only 20pkts per second in deauth mode, so clients are not getting disconnected. Other functions are working normally
Almost every network in my house are not broadcasting the SSID (for obvious reasons). So I asked myself if it is possible to show them :)
Im using this board:
NodeMCU with an ESP-12E
It uploaded and works fine. except when scanning for networks it just keeps scanning and doesnt find anything. Even when its right next to the router
So I purchased this board, only to use this script.
Atlough the death shows 20pkt/s nothing happens.
I am not on 5Ghz. And it did work on my Raspberry Pi with the same network.
Any advice? I need to get this working. Thanks
I have followed the directions exactly but when i go to compile the script it gives the following error.
Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"
sketch\Attack.cpp: In member function 'bool Attack::send(uint8_t*, int)':
Attack.cpp:41: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(buf, len, 0) == -1){
^
sketch\Attack.cpp: In member function 'void Attack::run()':
Attack.cpp:179: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(deauthPacket, 26, 0) == -1){/*
^
Attack.cpp:190: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(deauthPacket, 26, 0) == -1){/*
^
Attack.cpp:221: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(packet, packetSize, 0) == -1){/*
^
exit status 1
'wifi_send_pkt_freedom' was not declared in this scope
Please add clients signal strength as it is in AP.
Hi,
I have multiple AP's in my network all with the same SSID and setup so that my devices automatically switch AP's when moving around the house, I found yesterday while trying to stop my phone from connecting it defaulted to another AP in the house, Would it be possible to implement a feature to Block for ALL the Wireless Access Points with the same SSID?
I'm aware that you won't implement the Multiple SSID blocking and I totally agree with the reasoning, however, could this please be considered? also the support in this mode for scanning all the devices on all the hotspots with the same SSID, not just the one?
Also, I have seen your other Repo for SSID spamming, would it be possible to implement a custom SSID spam into this? say an input field and then it will in essence act the same as SSID spam just with your own custom SSID?
Thanks -Jack
Hello,
I'm installing it on my nodeMCU and I'm facing some issues.
First when I'm building it with Arduino IDE I got some errors like:
load404 not defined
, I had to move all prototypes to the top of the ino file.
After doing that, it builds but it fails at end with collect2.exe: error: ld returned 1 exit status
c:/users/me/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Me\AppData\Local\Temp\build1c7ae1c4b5247bba8a74aaee969d0119.tmp/esp8266_deauther.ino.elf section .irom0.text' will not fit in region
irom0_0_seg'
When I truncate some lines data_vendors in data.h (By the way, what are important data ? Because the file is too heavy and is not build ready in a nodemcu with weak flash size, I don't know why but I don't have 512kB http://puu.sh/tV5GH/1ef4a68be9.png) it continues to build but at the end I'm getting:
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_open failed
So I changed baudrate to 9600 and it was ok.
But now I got
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
Any idea ?
Thanks !
Hi there,
I'm having this issue while compiling. Any luck someone knows what I'm doing wrong or what is going on here ? Seems like there are some dependencies issues to me
thanks
Arduino: 1.6.7 (Mac OS X), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"
Build options changed, rebuilding all
sketch/Attack.cpp: In member function 'bool Attack::send(uint8_t*, int)':
Attack.cpp:41: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(buf, len, 0) == -1){
^
sketch/Attack.cpp: In member function 'void Attack::run()':
Attack.cpp:179: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(deauthPacket, 26, 0) == -1){/*
^
Attack.cpp:190: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(deauthPacket, 26, 0) == -1){/*
^
Attack.cpp:221: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(packet, packetSize, 0) == -1){/*
^
exit status 1
'wifi_send_pkt_freedom' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
G:\1\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino: In function 'void setup()':
esp8266_deauther:71: error: 'load404' was not declared in this scope
server.onNotFound(load404);
^
esp8266_deauther:73: error: 'loadIndex' was not declared in this scope
server.on("/", loadIndex);
^
esp8266_deauther:75: error: 'loadClients' was not declared in this scope
server.on("/clients.html", loadClients);
^
esp8266_deauther:76: error: 'loadAttack' was not declared in this scope
server.on("/attack.html", loadAttack);
^
esp8266_deauther:77: error: 'loadFunctionsJS' was not declared in this scope
server.on("/functions.js", loadFunctionsJS);
^
esp8266_deauther:80: error: 'loadStyle' was not declared in this scope
server.on ("/style.css", loadStyle);
^
esp8266_deauther:83: error: 'sendAPResults' was not declared in this scope
server.on("/APScanResults.json", sendAPResults);
^
esp8266_deauther:84: error: 'startAPScan' was not declared in this scope
server.on("/APScan.json", startAPScan);
^
esp8266_deauther:85: error: 'selectAP' was not declared in this scope
server.on("/APSelect.json", selectAP);
^
esp8266_deauther:86: error: 'startClientScan' was not declared in this scope
server.on("/ClientScan.json", startClientScan);
^
esp8266_deauther:87: error: 'sendClientResults' was not declared in this scope
server.on("/ClientScanResults.json", sendClientResults);
^
esp8266_deauther:88: error: 'selectClient' was not declared in this scope
server.on("/clientSelect.json", selectClient);
^
esp8266_deauther:89: error: 'setClientName' was not declared in this scope
server.on("/setName.json", setClientName);
^
esp8266_deauther:90: error: 'sendAttackInfo' was not declared in this scope
server.on("/attackInfo.json", sendAttackInfo);
^
esp8266_deauther:91: error: 'startAttack' was not declared in this scope
server.on("/attackStart.json", startAttack);
^
exit status 1
'load404' was not declared in this scope
Any idea?
Is it possible to create fakeAP to grab passwords?
When i change the SSID and Password in settings and reboot the ESP, my connection fails and im unable to connect to the ESP, but it does show the Acces point online with the SSID i changed.
I also tried changing the SSID and password in adruino before uploading but that gives me the same crashing result.
Any way I can get this to work on a photon board?
https://www.particle.io/products/hardware/photon-wifi-dev-kit
Having to constantly switch between browser / wifi properties / reconnect / refresh sucks.
As this was getting on my nerves, I wanted to try a less disruptive approach by using the stable serial console instead of the unstable wifi connection. This is what I've done so far: https://github.com/tobozo/esp8266_deauther_serial
This version talks full JSON, and will only accept orders coming from the hardware serial port:
Now I'm not requesting you ditch the web server like I did, I'm just suggesting using the serial as an alternate channel, provided the other end know how to deal with the data.
[Edit]: use this lib as a substitute to ESP8266WebServer https://github.com/tobozo/SerialServer and talk to the Serial like you're a browser ( e.g. send GET /APScanResults.json HTTP/1.1
)
can i modify your ""esp8266_deauther"" name and codes i think a good name for ""esp8266_deauther"" and web interface not look good so i need to modify this web ui so can you give me permission for modifying.
Hello there,
I've uploaded the code to my device (NodeMCU ESP-12E).
I see the network appear on both my laptop and my android. But I'm only able to join the network from my phone, and even then I'm not able to access the webpage. It just loads indefinitely.
On my laptop, I'm unable to connect to the network at all.
Upon checking the serial monitor, I see a bunch of random characters (that don't seem to like being copied and pasted) and the following text.
starting...
SSID: pwned
Password: deauther
I've left it running overnight, but it doesn't change from this state.
I've attempted resetting and re-flashing the device quite a few times, but I have the same result each time.
Any help would be fantastic and much appreciated!
Many thanks!
EDIT:
Just received this in the serial monitor:
EEPROM cleared
and then it displayed the same 'starting...' message as before.
There is a repo in GitHub to death all AP in range, but it is written in python. Is it possible to implement on C?
I'm getting an error when trying to upload to a nodemcu. I am brand-new to the nodemcu, and esp, which means there is a lot of room for error. Help and guidance would be much appreciated!
java.io.IOException: Cannot run program "python.exe": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:206)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.SketchController.upload(SketchController.java:707)
at processing.app.SketchController.exportApplet(SketchController.java:680)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2176)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 8 more
An error occurred while uploading the sketch
Hi,
I've installed the the tool on a WeMos D1Mini (Esp-8266 based) and everything works fine except deauthentication. It manages to correctly scan for surrounding APs and finds all the connected clients to a given AP. After that Beacon Spam and Random Beacon Spam works perfectly but when trying to use either of the two deauthentication methods (targeted or to all) under "Status" it displays 0pkts/s and there is no visible effect on any client.
When I deauth all or deauth selected APs. The status reads 0ptks/s and my wifi devices maintain their connections.
Could this be a bug or an I doing something wrong.
Not that big of a life changer I think but would be nice :)
Setting box values blank it's big prob please solve this issue #42
Before edit setting and After edit setting setting box values blank always!!
It would be great if you add custom SSID beacon spam to this repo.
Error: web page loading problem only on 2 pages
Android/Chrome
1.clients page // when press start button "Error: web page loading problem"
2.attack page // when press start button deauth "Error: web page loading problem"
Is it possible to bruteforce WPS pins with esp8266? Limitations?
What could be usefull for a settings menu?
Ideas and suggestions are welcome!
Not a real issue here, but I tried to change the maxResults value to 60 and of course ran into problems.
So I was wondering : why does this project absolutely requires the SDK 2.0.0?
@spacehuhn esp8266_deauther code support ESP8266 ESP-01 module
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.