spacehuhn / esp8266_beaconspam Goto Github PK
View Code? Open in Web Editor NEWCreates up to a thousand WiFi access points with custom SSIDs.
License: MIT License
Creates up to a thousand WiFi access points with custom SSIDs.
License: MIT License
When I edit the list of SSID and I make a name exactly 32 characters long, plus one more for the \n at the end, the resulting SSID shown in the WiFi client is truncated - the last one character is not displayed.
Here is an example SSID: "12345678901234567890123456789012\n"
I searched the source code and found that I was able to fix this issue by changing this line:
Original code:
} while (tmp != '\n' && j < 32 && i + j < ssidsLen);
New code:
} while (tmp != '\n' && j < 33 && i + j < ssidsLen);
Hello. Can someone explain how I can spawn specific AP's with specific mac addresses? I mean something like this:
my_wifi 3C:B9:5C:3D:EE:33
my_wifi2 D2:98:4C:05:6D:24
my_wifi3 4E:CE:90:02:21:DA
I wonder if reducing the time between the emission of packages would make it perform better or worse?
Thanks,
Antonio
https://www.amazon.com/Hotspots-Advertisement-Billboard-Marketing-Promotion/dp/B09292P3T1
Is it the same as this function? It can be configured on a web page
Hi,
Is it possible to receive beacon packets with your software. I need to process beacon packets in real time, meaning no buffering. libpcap does buffering of 10 packages before user processing them.
Is it possible to record the MAC address of someone that tries to connect to one of the broadcast SSID's?
would be nice to use UTF-8 in SSIDs
Removed
Hello sir i am flashing your scripts from my mobile and i can only use bins could you upload one XD? Btw i love your projects and have exited me.
I noticed that the length of the SSID never changes. They are always padded with spaces.
Perhaps this was intentional. But if you want to truncate them after the last letter, and not have trailing spaces, just add the code I wrote below:
Existing code:
// write new SSID into beacon frame
memcpy_P(&beaconPacket[38], &ssids[i], j - 1);
New code:
// change SSID length to match new SSID used above
beaconPacket[37] = (uint8_t)(j - 1);
Hi, i can get this version working fine, thanks!
There is no option to create an issue on the ESP 32 version page so hope you dont mind me asking here and wonder if you can help please?
When trying to compile the ESP-32 version i get the following - error: cannot convert 'esp_interface_t' to 'wifi_interface_t'
I have zero coding knowledge and trying to google it has not provided any pointers :(
Steve.
Is it possible to spam 1000 networks without an SD Card
I have changed the SSIDs to the ones I want, but the networks don't show up. They showed up once, but ever since, they don't show. I have tried re-uploading the code multiple times, but that doesn't work. Does anyone know how to fix this?
The SSIDs are absolutely hilarious, thanks for a good laugh ๐
Channel 13 is always added, when two or more channels are specified.
Test case, set two channels:
const uint8_t channels[] = {4, 5};
What's actually used are channels 4, 5, and 13
This line:
if (channelIndex > sizeof(channels)) channelIndex = 0;
Needs to be changed to:
if (channelIndex >= sizeof(channels)) channelIndex = 0;
Hi I just started sending some emoticons.
It is a little buggy. But got it working:
https://github.com/zoutepopcorn/esp8266_beaconSpam/
Got it working on S7 and on other Androids. Wondering if iphone works and why it is buggy.
Hi. I'm after a pointer (or two) please.
I was trying to elicit a response to a Huawei P20 Lite by beaconing to it with your spammer on the NodeMCU using the SSID it was expecting to see when at home. However, I saw behaviour I dont understand.
At home and connected to WiFi, I see all the fake SSIDs. When I go out of range but with the spammer, I cant see any fake SSIDs. This is the same from two Huawei phone models. P20 and P30 Lite.
When I return in range and my phone connects to the real AP, I then sees all the fake ones. This seems crazy to me but I'm hoping you can explain. I tried this with wpa2 set to true and false.
My aim is, to wake up a phone where I know one or more of the SSIDs it has stored away. Samsung S4 and S8 phones seem to beacon out in the active fashion and so dont present the problem I'm wanting to solve. Many thanks in advance.
hi, ssid's generated by this code are perfectly viewed on laptops, but iPhones and Samsungs can't see them. don't you know why can it happen?
I noticed that on some devices (xiaomi redmi note 8 and macbook air) the SSIDs are not shown. For scruple I did the same test with mdk3 and "ESP8266 Deauther 2.0" and on these instead it works very well.
Could anyone explain to me why?
I tried to turn off randomChannel and spamWPA, but I still could not search for WiFi.
If I scan for access points (or stations, etc) it quickly timeouts after about 5-10 seconds. Similarly, when I do beacon spam or a deauth it also times out after about 5-10 minutes. The flipper zero will scan and attack for as long as I want it to. How do I increase the timeouts for scanning and attacks?
Thanks!
When I enter the same SSID on multiple lines it shows only one WIFI SSID
I just tried this out and found that my phone and router show all the APs on channel 13 instead of 1,6,11. Using a single channel works as expected, but hopping between multiple channels does not seem to work?
When I do this with an esp32 it behaves the same.
Does anyone else have this issue?
Hi there.
More a question as a Issue.
I'm working on a project to use beacons as a reveal for a magic trick. Some people mentioned, that the beacons do not show up on iPhone 15 devices.
Does someone has more informations on this?
Regards
This line is causing problems:
if (sizeof(channels) > 1) {
If I'm only wanting to use one channel, eg:
const uint8_t channels[] = {12};
That test for sizeof(channels)
fails, and the only channel that's actually used is channel 1.
I just have a question--is there a way to wipe the ESP8266 from previous flashes? Iwant to erase the previous files that I loaded on my ESP8266.
I'm trying to understand this line:
/* 32 - 33 */ 0xe8, 0x03, // Interval: 0x64, 0x00 => every 100ms - 0xe8, 0x03 => every 1s
As I understand the code, this does not set the actual interval of the beacons, but rather it sets an "expected" time, and within that expected time, a node should expect to see another beacon from this BSSID.
IIUC, the code is running as fast as the wifi chip can send beacons, and it could (presumably) be slowed down with some kind of sleep
command (this code is not my first language).
Is that correct?
Maybe that should be documented in the comments of the code.
Pls let me know ....thanks
Instead of doing what I expected them to do, which was stay. They all disappear shortly.
I'm a bit confused as to why this happens, and, if possible, how would I be able to keep these WiFi networks up (Pretty great and funny names haha) without them shutting down after ~5-10 seconds?(I counted and its around 15) I'm just testing this on a NodeMCU
However this isn't the only issue. I wouldn't mind, but, then there are No WiFi networks for quite a while
~ 30-60 seconds.` Sometimes less, and sometimes more. As I was typing this, it first took 14 seconds for them to come back then 28. But when I first started it, it took around 30. Then I unplugged and replugged and it was almost immediate when starting. One thing is for sure though: Very inconsistent,
I tried to look through the code and figure out if I could find what was causing this and I was a bit clueless;
P.s. I don't have an SD card (Since I'm on a NodeMCU, there isn't even a slot for one) and I'm using the default ones that load when you don't have an SD card
Is there any way you could make this program work with multiple of the same SSID's?
@spacehuhn im still learning from your code, and i like to Play a little bit with this, i can for example read some sensors and put the values as a wifi name (something of wifi1: "temperature: 20ยฐ", wifi2: "pressure: Xvalue"), but i cant change the char, can you add a function to add values from variables in strings?. Thanks so much.
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.