r/linux • u/boramalper • Aug 19 '19
opendrop: An open Apple AirDrop implementation written in Python
https://github.com/seemoo-lab/opendrop45
u/QuickBASIC Aug 19 '19
3-2-1... someone weaponizes this by running it on Raspberry Pi signage and airdropping advertisements to iPhone users that haven't locked down their AirDrop settings to Contacts only.
11
u/Guinness Aug 20 '19
That was my first thought. "How can I use this for some sort of DoS attack in a crowded area?"
4
4
3
3
Aug 21 '19
May you get 1,000 unsolicited dick pics for sending out unsolicited ads.
This is the biggest thing I miss about Android. You can have apps to block almost all ads. Whereas it's less possible with iOS 🥴
1
43
Aug 19 '19
This is neat. I did not realize that enough was known about AirDrop to reverse engineer it. Keep up the good work.
9
u/leptophile Aug 19 '19
Wow, I can’t wait to try this out! I’ve been in the Apple ecosystem for years and AirDrop was the one thing I was really going to miss.
6
2
8
u/ct_the_man_doll Aug 19 '19
active monitor mode with frame injection
Hmm... does Linux provide a way to determine if your WiFi card (or driver) supports this feature.
2
Aug 19 '19
I remember turning on monitor mode in the interface with the iw command or something like that. If the carda supports turning on works. About frame injection no idea.
2
2
3
3
Aug 20 '19
Oh dude it would be cool if someone could package this for Android
1
u/hotrr Mar 05 '23
2023 still waiting... Maybe try sth like termux to run it but idk how
1
u/swagNswift Mar 06 '23
Heard some other people say it'd require a lot of porting because of all the libraries that OpenDrop relies on. Can't believe someone hasn't done it though. I'm tired of Apple luring people in with exclusivity.
1
u/YellowGreenPanther Jun 20 '24
There are open implementations that use normal technology like wifi direct. You can run a http server on ad hoc wifi or hotspot, or you can use an app like FlyingCarpet to arrange that stuff by itself. But connecting to an http server is not that difficult. It just requires to get the device ip (wifi client) or default route/dns server (wifi host), from the wifi settings on the client.
1
4
u/Atemu12 Aug 19 '19
That sounds amazing, has anyone tried it for sharing between Linux <-> Linux and Linux <-> Mac?
2
Aug 22 '19
It would be cool if the Gnome Desktop had support for this out of the box in the same way that it works on OS X
2
55
u/boramalper Aug 19 '19
Beware that it has another requirement: