Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Samsung Spam (Easy Setup Spam) as requested in issue #154. #164

Merged
merged 5 commits into from
May 19, 2024

Conversation

danny8972
Copy link

full credits to Spooks4576
in this repository https://github.com/Spooks4576/Ghost_ESP/blob/main/src/components/ble_module/ble_module.h

Very much in progress builds fine on Arduino but I don't have any Samsung devices to test. Would love some help with that.
Feedback is very welcome.

@danny8972 danny8972 changed the base branch from main to develop April 22, 2024 02:16
@StingerFingersinmyass
Copy link

Thank you for realizing my idea, I understand my issue can be closed.
#154

@StingerFingersinmyass
Copy link

It works, only there is a snag when the notification appears: When the REAL device appears, "Device" appears at the top, but "ESP32" appears at the end:
изображение_2024-05-03_205924708
. Maybe there is some way to make the sending a bit faster. Basically everything works.

@danny8972
Copy link
Author

Im a little confused by "REAL device" do you mean the ESP32 or you re-connecting with a legitimate Samsung watch and having continued problems.

@StingerFingersinmyass
Copy link

StingerFingersinmyass commented May 6, 2024

Im a little confused by "REAL device" do you mean the ESP32 or you re-connecting with a legitimate Samsung watch and having continued problems.

Btw, everything was working perfectly fine until some point, but then the messages stopped showing at all.
Back to your question - yes, official devices have their own names depending on its type (Buds - " ", Watches - "Device").

@StingerFingersinmyass
Copy link

Maybe the problem lies in the code, because in fw Marauder for M5StickcPlus2 with M5Burner works perfectly honestly, you can try to compare your code and fw code here:
https://github.com/ATOMNFT/M5stick-Marauder/blob/main/M5stickC%20Plus%201%20%26%202%20WiFi%20Marauder%200.13.10/WiFiScan.cpp
https://github.com/ATOMNFT/M5stick-Marauder/blob/main/M5stickC%20Plus%201%20%26%202%20WiFi%20Marauder%200.13.10/WiFiScan.h

@danny8972
Copy link
Author

I think the reason the messages stop appearing lies in preventative measures taken by the Manufacturers to stop this attack. With marauder they have random MAC addresses which help bypass their measures. Random MAC has been added and will come out in the next release.

@danny8972
Copy link
Author

Just did a quick check over the code, I really can't understand why the ESP32 is advertising it's self especially since we initialize it to a blank string in this code

// Create the BLE Server
BLEDevice::init("");
BLEServer *pServer = BLEDevice::createServer();
pAdvertising = pServer->getAdvertising();
BLEAdvertisementData oAdvertisementData = BLEAdvertisementData();

@n0xa
Any Ideas for this weird behavior.

@mxrxtr
Copy link

mxrxtr commented May 17, 2024

Doesnt work

@danny8972
Copy link
Author

Can you give me some error output or any other context?

@mxrxtr
Copy link

mxrxtr commented May 18, 2024

The Samsung spam doesnt advertise anything tried to reflash the software twice didnt do anything

@danny8972
Copy link
Author

Maybe its a problem with the files you downloaded I have multiple branches in my pull request, Also do you have a Samsung device to view the advertisements, because it may not work on other devices.

@mxrxtr
Copy link

mxrxtr commented May 19, 2024

Yes i have a samsung device to test

@mxrxtr
Copy link

mxrxtr commented May 19, 2024

Could you give me the right bin then

@n0xa n0xa merged commit fb52592 into n0xa:develop May 19, 2024
18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants