Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix channel hopping, assign known MAC prefixes, comments #33

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@
# Debug files
*.dSYM/
*.su
/esp8266_beaconSpam/Debug
/esp8266_beaconSpam/Release
/esp8266_beaconSpam/.vs/esp8266_beaconSpam/v16/.suo
/esp8266_beaconSpam/.vs/esp8266_beaconSpam/v16/ipch/AutoPCH
/esp8266_beaconSpam/myConfig.h
/esp8266_beaconSpam/.vs/esp8266_beaconSpam/v16
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ ESP32 version by [@Tnze](https://github.com/Tnze): [esp32_beaconSpam](https://gi
## Changes

I wrote the initial sketch in 2017 and it had some flaws.
Here are the latest changes (06/2018):

[@gojimmypi](https://github.com/gojimmypi) changes (2/2012)
- known MAC address prefixes (see ./esp8266_beaconSpam/oui.txt)
- reset wifi channel index at each loop to avoid channel hopping for a given SSID
- minor code cleanup / comments / formatting

Changes from (06/2018):
- Now works with ESP8266 Arduino Core v2.0.0 or newer without **any** further modification
- Fixed the bug that the SSIDs are not shown correctly on IOS
- No need for a SD card anymore to save hundrets of SSIDs, they are all stored in the PROGMEM now
Expand Down Expand Up @@ -62,6 +68,12 @@ Again, this is for the Deauther and not for this project, but the hardware (ESP8
Additionally, here's a video tutorial :)
[![$5 WiFi Spammer](https://img.youtube.com/vi/Zq7QNpPxCqE/0.jpg)](https://www.youtube.com/watch?v=Zq7QNpPxCqE)

## Troubleshooting

If the device is not recognized, try a different USB cable. If using a USB hub - try connecting directly to computer.

If you successfully flash the board and no fun WiFi SSID values are observed, try power cycling the device.

## License

This project is licensed under the MIT License - see the [license file](LICENSE) file for details
Expand Down
119 changes: 119 additions & 0 deletions esp8266_beaconSpam/__vm/.esp8266_beaconSpam.vsarduino.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
/*
Editor: https://www.visualmicro.com/
This file is for intellisense purpose only.
Visual micro (and the arduino ide) ignore this code during compilation. This code is automatically maintained by visualmicro, manual changes to this file will be overwritten
The contents of the _vm sub folder can be deleted prior to publishing a project
All non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
Note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again

Hardware: NodeMCU 1.0 (ESP-12E Module), Platform=esp8266, Package=esp8266
*/

#if defined(_VMICRO_INTELLISENSE)

#ifndef _VSARDUINO_H_
#define _VSARDUINO_H_
#define __ESP8266_esp8266__
#define __ESP8266_ESP8266__
#define __ets__
#define ICACHE_FLASH
#define NONOSDK22x_190703 1
#define F_CPU 80000000L
#define LWIP_OPEN_SRC
#define TCP_MSS 536
#define LWIP_FEATURES 1
#define LWIP_IPV6 0
#define ARDUINO 108013
#define ARDUINO_ESP8266_NODEMCU
#define ARDUINO_ARCH_ESP8266
#define LED_BUILTIN 2
#define FLASHMODE_DIO
#define ESP8266
#define __cplusplus 201103L
#undef __cplusplus
#define __cplusplus 201103L
#define __STDC__
#define __ARM__
#define __arm__
#define __inline__
#define __asm__(x)
#define __asm__
#define __extension__
#define __ATTR_PURE__
#define __ATTR_CONST__
#define __volatile__


#define __ASM
#define __INLINE
#define __attribute__(noinline)

//#define _STD_BEGIN
//#define EMIT
#define WARNING
#define _Lockit
#define __CLR_OR_THIS_CALL
#define C4005
#define _NEW

//typedef int uint8_t;
//#define __ARMCC_VERSION 400678
//#define PROGMEM
//#define string_literal
//
//#define prog_void
//#define PGM_VOID_P int
//

typedef int _read;
typedef int _seek;
typedef int _write;
typedef int _close;
typedef int __cleanup;

//#define inline

#define __builtin_clz
#define __builtin_clzl
#define __builtin_clzll
#define __builtin_labs
#define __builtin_va_list
typedef int __gnuc_va_list;

#define __ATOMIC_ACQ_REL

#define __CHAR_BIT__
#define _EXFUN()

typedef unsigned char byte;
extern "C" void __cxa_pure_virtual() {;}


typedef long __INTPTR_TYPE__ ;
typedef long __UINTPTR_TYPE__ ;
typedef long __SIZE_TYPE__ ;
typedef long __PTRDIFF_TYPE__;


#include "new"
#include "Esp.h"


#include "arduino.h"
#include <pins_arduino.h>

#include "..\generic\Common.h"
#include "..\generic\pins_arduino.h"

#undef F
#define F(string_literal) ((const PROGMEM char *)(string_literal))
#undef PSTR
#define PSTR(string_literal) ((const PROGMEM char *)(string_literal))
//current vc++ does not understand this syntax so use older arduino example for intellisense
//todo:move to the new clang/gcc project types.
#define interrupts() sei()
#define noInterrupts() cli()

#include "esp8266_beaconSpam.ino"
#endif
#endif
12 changes: 12 additions & 0 deletions esp8266_beaconSpam/__vm/Compile.vmps.xml

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions esp8266_beaconSpam/__vm/Configuration.Debug.vmps.xml

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions esp8266_beaconSpam/__vm/Configuration.Release.vmps.xml

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions esp8266_beaconSpam/__vm/Upload.vmps.xml

Large diffs are not rendered by default.

Loading