Commit Graph

358 Commits

Author SHA1 Message Date
Stefan Kremser 4b0ce4a9c1 Updated Configs for Deauther Mini
Uses the same config as Deauther Wristband now
2018-10-27 09:49:33 +02:00
cheng cd8286f7fb fix line too long 2018-10-20 12:56:29 +08:00
Stefan Kremser 19b01955f9 Fixed stupid integer overflow error
my bad
2018-10-18 09:19:20 +02:00
Stefan Kremser 87e98babbc Added ifdef for PROGMEM files in wifi class 2018-10-17 13:03:50 +02:00
Stefan Kremser 2f4a5b92ed Updated vertical scrolling for menus 2018-10-16 20:15:02 +02:00
Stefan Kremser 6bf882311b Fixed bug with font size 2018-10-16 11:54:22 +02:00
Stefan Kremser 50fe8a0276 Fixed problems with ArduinoJson
Problem solving 101 lol
2018-10-15 13:16:31 +02:00
Stefan Kremser 7f6cf6273c Cleaned up configs 2018-10-14 18:58:47 +02:00
Stefan Kremser ffeae7ca1a Improved packetMonitor draw function 2018-10-14 17:32:16 +02:00
Stefan Kremser 2387e0395a ifdef for LED types 2018-10-14 17:01:17 +02:00
Stefan Kremser e6fe4fee27 Fake clock enabled by default 2018-10-14 17:01:10 +02:00
Stefan Kremser c9b0eea932 Updated version number to 2.1 2018-10-13 19:37:49 +02:00
Stefan Kremser e466566f62 Added fake clock feature for DSTIKE wristband 2018-10-13 19:31:03 +02:00
Stefan Kremser bd332d533e Beautified stuff 2018-10-12 21:16:06 +02:00
Stefan Kremser 30893f21b7 Set default channel to 9
NEIN
2018-10-12 21:08:07 +02:00
Stefan Kremser 763bff53d4 Cleaned up display class & fixed timeout 2018-10-12 21:07:59 +02:00
Stefan Kremser 7610db9534 Use SimpleButton Library 2018-10-12 14:34:18 +02:00
Stefan Kremser 7242543017 New string functions & better seperation of display functions 2018-10-12 13:41:26 +02:00
Stefan Kremser 9097a07a38 Removed maxCh setting 2018-10-12 12:43:58 +02:00
Stefan Kremser 8b39d2b520 Improved LED and Wristband Highlight LED support 2018-10-11 16:49:39 +02:00
Stefan Kremser 3230750a26 Command to stop endless script 2018-10-11 13:19:20 +02:00
Stefan Kremser 4a8c7c7877 Improved Beacon attack & preloaded SSIDs 2018-10-11 13:02:27 +02:00
Stefan Kremser 36e8a150f9 Improved scripting
Now scripts call other scripts and it won't execute a new command while a scan ro attack is running
2018-10-11 12:28:41 +02:00
Stefan Kremser 4589592a30 Select APs and STs by SSID name 2018-10-11 09:15:35 +02:00
Stefan Kremser fb2e49c014 Fixed sort of APs and STs 2018-10-11 09:15:17 +02:00
Stefan Kremser c56e67f24f Cleaned up Wifi class a bit 2018-10-10 18:51:28 +02:00
Stefan Kremser 3c52f4fdd1 Scan on autostart by default 2018-10-10 18:42:01 +02:00
Stefan Kremser ad9694a472 Don't print "Not found" for missing web files anymore
People seem to get confused by that so whatever
2018-10-10 18:41:39 +02:00
Stefan Kremser 899e4b3e9b Updated to newer version of SimpleList 2018-10-10 18:41:16 +02:00
Stefan Kremser a687a94546 Renamed SerialInterface to CLI 2018-10-10 18:13:10 +02:00
Stefan Kremser 5ed9cc9d9c Renamed LEDController to LED 2018-10-10 18:08:27 +02:00
Stefan Kremser 6b1d032b28 Updated web files 2018-10-10 18:02:28 +02:00
Stefan Kremser 9eefdf0220
Overwrite default SSID 2018-07-09 21:12:29 +02:00
Stefan Kremser f2ee8e0c1d Reset default config 2018-06-06 09:39:18 +02:00
Stefan Kremser c44444aa46 Whoops, deleted too much :D 2018-06-06 08:00:10 +02:00
Stefan Kremser 8d1feac89c Forgot to delete LED classes 2018-06-06 07:53:44 +02:00
Stefan Kremser dbf64be701 LED as inner classes
- everything about the LEDs is in the LEDController class now
- updated the configs to have a LED_NEOPIXEL_MODE definition
- removed the LED_DYNAMIC_BRIGHTESS from the config file (that wasn't really working anyway)
2018-06-05 18:54:34 +02:00
Stefan Kremser 8a0f48bb4b v2.0.6
Rewritten LED classes and simplified config files
2018-06-05 11:50:38 +02:00
tobozo d43845003e DIGITAL_LED can now be turned off by config 2018-05-27 15:28:17 +02:00
Stefan Kremser 8daf8cc91b Fixed opening SSID menu on displayUI
sorry totally forgot to fix it, but here it is!
2018-05-15 09:56:37 +02:00
Stefan Kremser dc10c87c09 Trying to fix mac problems 2018-05-09 19:07:03 +02:00
Stefan Kremser f03d9cabd7 Note about Neopixel parameters 2018-04-23 08:30:46 +02:00
Stefan Kremser e6f4ab71fe Updated SimpleList (yeah, again... ok?!) 2018-04-23 08:23:46 +02:00
Stefan Kremser 3d1e750947 Updated SimpleList 2018-04-22 18:30:20 +02:00
Stefan Kremser a916d036f2 Updated SimpleList 2018-04-21 22:32:18 +02:00
Stefan Kremser a95a5cfe3e Fixed ButtonB 2018-04-20 13:48:55 +02:00
Stefan Kremser b5eae2413b Updated buttons 2018-04-20 12:23:13 +02:00
Stefan Kremser ccc657a83f Merge branch 'patch-1' 2018-04-18 21:06:25 +02:00
Stefan Kremser 1285bd43a5 Update web files 2018-04-18 21:05:26 +02:00
Stefan Kremser 6e6c3fb286 Fixed packetrate on display 2018-04-18 20:59:13 +02:00
Stefan Kremser ecdf05db3f Display show packetrate 2018-04-18 10:50:00 +02:00
Stefan Kremser 57bd743f0e Updated SimpleList 2018-04-18 10:38:43 +02:00
Stefan Kremser 264e87588b Added packetrate to json string
Not used yet, but I'll update the web interface later
2018-04-17 18:53:36 +02:00
Stefan Kremser 7e92f644d0 Better packet counting and output 2018-04-16 21:33:38 +02:00
Stefan Kremser 7e1e6f828a Updated web files 2018-04-13 16:42:28 +02:00
Stefan Kremser 28c738fba5 Fixed mac setting 2018-04-13 12:00:27 +02:00
Stefan Kremser d48a0f9fc4 Updated SimpleList 2018-04-13 10:36:08 +02:00
Stefan Kremser 6b585fddb4 Improved SimpleList 2018-04-12 19:58:54 +02:00
Stefan Kremser 71b35a746d Added infos about startap, stopap 2018-04-12 09:52:53 +02:00
Stefan Kremser 7afc5151e4 Only open list-menu if it has nodes 2018-04-11 20:17:49 +02:00
Stefan Kremser 49866e0ccd Updated web files 2018-04-11 19:33:12 +02:00
Stefan Kremser 9463755dfe Cleaned up strings for WiFi Manager file 2018-04-11 19:28:21 +02:00
Stefan Kremser fe38afe91a Updated web files 2018-04-10 10:40:11 +02:00
Stefan Kremser b53aba39ab Updates web files 2018-04-09 13:51:37 +02:00
Stefan Kremser 0a111a522b Fixed bugs when removing AP 2018-04-09 13:50:32 +02:00
Stefan Kremser 396d8e69fe Improved the way stations save their AP
There was the problem that when the AP list get's sorted (when starting an attack for example), the pointers to the stations would become messed up.
2018-04-09 12:24:36 +02:00
Stefan Kremser b8a3f82eb8 Updated web files 2018-04-08 00:49:11 +02:00
Stefan Kremser cd696a8098 Updated all config files 2018-04-07 22:17:17 +02:00
TheMiguelBi 0bceede66e
Update A_config.h
I had to edit the file to be able to successfully use my SPI 1.3 display.
I added the word DEAUTHER_ and the value CS to (15).

Correct me if I'm wrong.
2018-04-07 20:56:43 +02:00
Stefan Kremser 296fb85b80 No more static stuff
Moved the print functions to the function.h and included them in language using extern so not every class has to "extern" them again.
Also fixed some type comparisons and made removed the static from the progmem variables.
C code is super messy! But I'm not going to rewrite it again so deal with it :D
2018-04-05 15:32:20 +02:00
Stefan Kremser a20a1d6d0f Fixed more compiler warnings 2018-04-05 14:55:44 +02:00
Stefan Kremser f7e445391e Fixed some compiler warnings 2018-04-05 14:33:49 +02:00
Stefan Kremser dc03cb11c4 Updated web files 2018-04-04 18:53:30 +02:00
Stefan Kremser f292151acb Updated webConverter 2018-04-04 18:53:25 +02:00
Stefan Kremser a054b1d258 Hotfix for boot loop on startAP() 2018-04-04 17:32:26 +02:00
Stefan Kremser bc7eabec5a Improved startAP() function 2018-04-04 16:18:15 +02:00
Renat 3045bc4808 Add Russian language 2018-04-03 22:56:05 +03:00
Stefan Kremser 227212c179 Updated default config
I have no idea when I fucked it up, but I did
2018-04-03 18:49:06 +02:00
Stefan Kremser 198df71103 Fixed button pins 2018-04-03 18:47:36 +02:00
Stefan Kremser 4797035436 Updated web files 2018-04-03 18:03:22 +02:00
Stefan Kremser aa7c1f211e Fixed last things for the webSpiffs 2018-04-03 18:03:08 +02:00
Stefan Kremser f70c644a9d Reverting A_config changes
Sorry I accidentally commited my changes that were for a board I'm testing. Here are the default values again :)
2018-04-03 17:44:26 +02:00
Stefan Kremser 55157ec923 Updated web files + progmem hosted web server 2018-04-03 17:38:55 +02:00
Stefan Kremser ca3d07ee77 New setting: webSpiffs 2018-04-03 17:36:18 +02:00
Stefan Kremser 92a62f4bdc Added Settining serialEcho 2018-04-02 22:44:27 +02:00
Stefan Kremser 4602c41cd4 Fixed std::function not found 2018-04-01 16:47:01 +02:00
Stefan Kremser fab38e7c3f Updated inlcudes
The one thing my Java prof is right about when he hates against C, is that its includes are super annoying...
2018-04-01 16:42:30 +02:00
Stefan Kremser 157f3ff9d5 Stations with SimpleList 2018-04-01 12:34:26 +02:00
Stefan Kremser d8689f56f3 SerialInterface with SimpleList 2018-04-01 12:34:15 +02:00
Stefan Kremser b3090d0d6b Scan with SimpleList 2018-04-01 12:34:04 +02:00
Stefan Kremser 123c19e640 SimpleList for SSIDs 2018-04-01 12:21:54 +02:00
Stefan Kremser df0a6d50cf SimpleList for DisplayUI 2018-04-01 12:21:47 +02:00
Stefan Kremser 4c77f91cfd Used SimpleList for Names 2018-04-01 12:14:57 +02:00
Stefan Kremser 56f8d89fa5 Added SimpleList.h
Because git is weird sometimes
2018-04-01 11:50:27 +02:00
Stefan Kremser 224636f021 Used SimpleList for Accesspoints
I've wrote my own linked-list library. It can do a few things more than the Arduino LinkedList lib. The code is a bit cleaner and it doesn't collide with other LinkedList libraries (i.e. ESP32-IDF)
2018-04-01 11:49:35 +02:00
Stefan Kremser 71491de807 Wrote my own LinkedList 2018-03-30 15:08:36 +02:00
Stefan Kremser 6f88113ffb Updated comment in config
USE_DISPLAY doesn't force anything (anymore). It is the default setting to enable/disable the display. Changed the comment to resolve confusion.
2018-03-30 13:22:57 +02:00
Stefan Kremser 790947451e Fixed typo "access poit" 2018-03-29 16:40:35 +02:00
Stefan Kremser 7bd14a6bda Further improvements on Accesspoints class
Only go through the whole list again if needed
2018-03-29 16:40:23 +02:00
Stefan Kremser 36bd59f5cd Removed LinkedList library from Accesspoints
I wrote a simple linked list myself. This should save a bit of RAM. The goal is to eventually replace all lists with structures like this to be independent from the LinkedList library.
2018-03-29 14:40:28 +02:00
Stefan Kremser ea85d45af0 Improved Accesspoints class 2018-03-29 12:43:47 +02:00
Stefan Kremser 94258712cf Better File error message
Also improved the write command
2018-03-29 12:08:23 +02:00
Stefan Kremser 73b4640ce5 Fixed Errors in serial parser
Sorry seems like I skipped testing when I commited the changes earlier
2018-03-28 19:35:30 +02:00
Stefan Kremser 617b0d5676 Improved Serial command parser 2018-03-28 12:53:02 +02:00
Stefan Kremser 01d62dda2a Added display config: FLIP_DISPLAY 2018-03-28 09:47:30 +02:00
Stefan Kremser 485bfd1085 Updated font type 2018-03-28 09:37:06 +02:00
Stefan Kremser 0f07fe5eab Updated web files 2018-03-27 11:25:29 +02:00
Stefan Kremser f38adaa0dd Revert "Changed font type to "unsigned char""
This reverts commit 4d80706aed.
2018-03-27 11:10:37 +02:00
Stefan Kremser f259497b6b Access web interface using deauth.me 2018-03-27 10:59:56 +02:00
Stefan Kremser 4d80706aed Changed font type to "unsigned char"
In the hope to fix some compiler issues
2018-03-27 10:05:20 +02:00
Stefan Kremser 19dcf097b7 Init display before copying spiffs + shorter startscreen 2018-03-25 17:38:11 +02:00
Stefan Kremser df3769615e Reorganized configs 2018-03-25 16:06:35 +02:00
Stefan Kremser f9a4ee006b Updated web files 2018-03-25 11:30:50 +02:00
Stefan Kremser b39fd87191 Imrpoved web copying
- better output
- fixed default ssids.json
- auto replace of old website when the version number is different
- saved RAM by putting spiffs file names in progmem
- updated web converter
2018-03-25 11:29:28 +02:00
Stefan Kremser e494d95c15 Improved attack routine
- less count() calls
- fixed the deauth station crash (hopefully)
- sort targets after channel for better performance
- increment counter in deauth/beacon/probe function and not in sendPacket() that was stupid anyway
2018-03-25 10:26:55 +02:00
Stefan Kremser 24d9043988 Version 2.0 2018-03-24 18:15:59 +01:00
Aurélien Hernandez 3b1528f3af Improved APScan UI (Halloween easter egg)
Display an icon when the SSID is hidden. Useful to difference an hidden AP and an AP named "* Hidden SSID *"
2017-10-24 13:46:20 +02:00
Aurélien Hernandez dc23c6494f Improved Json sanitization
It was important to fix this bug. It can let someone to prevent the esp8266 from scanning for APs just by sending beacons containing specifics characters in AP name.
Those characters will make the browser to misunderstand the json result of APScan.
For exemple if you put an anti-slash at the end of an AP name, you're browser will think that the " character of json delimitation is escaped and will interpret it as a ascii character.

-Created a sanitize method. APScan::sanitizeJson(String) to escape specific characters.

-SanitizeJson is used each time the result of getAPName is sent using Json data format.

- Removed _ssid.replace("\"", "\\\"")
It's important to not sanitize Ap names before saving them into a limited 33 chararacters array. Sanitize an AP name increase his size and so it can potentially decrease his final size when casted to a 33 chars array.
2017-10-24 09:42:12 +02:00
tobozo 581b3e2adb post-l10n fixes 2017-10-14 13:19:21 +02:00
tobozo 3cbccc07bd added favicon.ico to prevent more 404 2017-10-14 11:59:43 +02:00
tobozo 2853aad2d0 backported ##584 screensaver 2017-10-14 10:26:44 +02:00
tobozo bb6a2d8751 Merge branch 'spiffs' of github.com:spacehuhn/esp8266_deauther into spiffs 2017-10-14 10:05:14 +02:00
tobozo 4b7ef2bc70 backporting @rubfi #638 PR vendorlist 2017-10-14 10:02:59 +02:00
Jokin b546206d89 implemented l10n 2017-10-13 15:20:26 +08:00
tobozo 81df4f1c52 now serve any file from SPIFFS 2017-10-12 18:07:34 +02:00
tobozo a93863f8d2 implemented l10n 2017-10-12 16:32:43 +02:00
tobozo ddcbd2f991 moved web_server to /data folder, now use the ESP8266 Sketch Data Upload to manage web UI 2017-10-11 21:34:21 +02:00
tobozo 6c671efad2 Extract logs from deauther
Implemented on request from @crystalg21 #624, logs can now be extracted from the web UI by accessing http://192.168.4.1/log.txt

Some TODOs if this PR is accepted:
  - Output log to serial
  - Add links to the web UI
2017-09-29 10:38:03 +02:00
Stefan Kremser 8fee403b17 Merge pull request #352 from samdenty99/patch-1
Add Cache-control headers to Javascript & CSS
2017-08-09 22:49:39 +02:00
samdenty99 6de99a6a1d Removed if statement 2017-08-09 21:43:24 +01:00
samdenty99 952b467a41 Added changes to Data.h 2017-08-09 21:36:48 +01:00
Sam Denty 5c9edbd23d Removed changes from .ino 2017-08-09 21:22:44 +01:00
Stefan Kremser b2c8b810bf Cleaned up sendFile() function 2017-08-09 20:24:57 +02:00
Sam Denty 973189a127 Add Cache-control headers to Javascript & CSS
Every time a page is (re)loaded, the ESP8266 has to send the stylesheet and javascript before the page loads. Although this is minimal (20ms in dev tools Networks pane), it can improve page load speeds when the client device is spamming network connectivity check requests.

Adding the `Cache-Control` headers makes the browser store these files in memory (for 300 seconds, could be increased). The same could be done for the HTML files, but that would allow the pages to load even when not connected to the ESP8266.
2017-08-09 17:36:13 +01:00
Stefan Kremser 05e55eb803 Improved Deuth function
Most people use broadcast instead of a selected client and sending a packet to the AP with FF:FF:FF:FF:FF:FF as sender wouldn't make much sense.
2017-08-09 00:00:09 +02:00
Stefan Kremser 458cacc2e0 fixed small bug on APscan 2017-08-08 23:58:16 +02:00
Stefan Kremser be11bdc0a9 Fixed default settings
Sorry for the clusterfuck before. Sometimes me and git have these days...
2017-07-31 16:24:06 +02:00
Stefan Kremser a89769fd71 Mades USE_LED16 default 2017-07-31 16:18:01 +02:00
Stefan Kremser fa035ada52 updated a few colors 2017-07-21 17:42:34 +02:00
Stefan Kremser c9e1c8c1b4 Added Contact Infos to Info Page 2017-07-21 16:06:04 +02:00
Stefan Kremser 9fe9fa2459 Updated JS to prevent XSS using SSIDs 2017-07-21 15:03:46 +02:00
Stefan Kremser f3c9fefe33 commented out USE_DISPLAY 2017-07-20 15:49:24 +02:00
Stefan Kremser de952ba1f7 Added beacon flood to OLED 2017-07-20 15:48:57 +02:00
Stefan Kremser d842c76a4f New Web Interface
Completly reworked design!
I also improved the way you add/clone SSIDs to the list
2017-07-20 15:11:08 +02:00
Stefan Kremser 6f2c99aa42 Added a few comments 2017-07-17 20:03:56 +02:00
Stefan Kremser e9946d81ca Changed sendHeader() to setContentLength() 2017-07-17 14:09:40 +02:00
Stefan Kremser 3ace436dab Merge remote-tracking branch 'ericktedeschi/master' into testing 2017-07-08 11:38:39 +02:00
Erick Tedeschi 6e4b490494 - Added the script convert_all.sh to help the process of minify, convert to hex and generate constant name automatically.
- Updated the readme.md inside the web_server folder
- updated the data.h to the automatically generated constants name.
2017-07-04 18:55:13 -03:00
Stefan Kremser 83c1db67c0 Merge remote-tracking branch 'origin/testing' into testing 2017-06-21 12:09:57 +02:00
Stefan Kremser 406d624892 Fixing APScan Display Bug
When you scan for a second time and find less APs then before, there was the possibility that the last of the old APs was still shown on the display.
2017-06-21 12:09:53 +02:00