{ "info": { "author": "The Open Wireless Link Project", "author_email": "mstute@seemoo.tu-darmstadt.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# OpenDrop: an Open Source AirDrop Implementation\n\n*OpenDrop* is a command-line tool that allows sharing files between devices directly over Wi-Fi. Its unique feature is that it is protocol-compatible with Apple AirDrop which allows to share files with Apple devices running iOS and macOS. \nCurrently (and probably also for the foreseeable future), OpenDrop only supports sending to Apple devices that are discoverable by *everybody* as the default *contacts only* mode requires [Apple-signed certificates](https://www.apple.com/certificateauthority/pdf/Apple_AAI_CPS_v6.1.pdf).\n\n\n## Disclaimer\n\nOpenDrop is experimental software and is the result of reverse engineering efforts by the [Open Wireless Link](https://owlink.org) project.\nTherefore, it does not support all features of AirDrop or might be incompatible with future AirDrop versions.\nOpenDrop is not affiliated with or endorsed by Apple Inc. Use this code at your own risk.\n\n\n## Requirements\n\nTo achieve compatibility with Apple AirDrop, OpenDrop requires the target platform to support a specific Wi-Fi link layer.\nIn addition, it requires Python >=3.6 as well as several libraries.\n\n**Apple Wireless Direct Link.**\nAs AirDrop exclusively runs over Apple Wireless Direct Link (AWDL), OpenDrop is only supported on macOS or on Linux systems running\nan open re-implementation of AWDL such as [OWL](https://github.com/seemoo-lab/owl).\n\n**Libraries.**\nOpenDrop relies on current versions of [OpenSSL](https://www.openssl.org) and [libarchive](https://www.libarchive.org).\nmacOS ships with rather old versions of the two, so you will need to install newer version, for example, via [Homebrew](https://brew.sh).\nIn any case, you will need to set the two environmental variables `LIBARCHIVE` and `LIBCRYPTO` accordingly.\nFor example, use `brew` to install the libraries:\n```bash\nbrew install libarchive openssl@1.1\n```\nThen set environmental variables:\n```bash\nexport LIBARCHIVE=/usr/local/opt/libarchive/lib/libarchive.dylib\nexport LIBCRYPTO=/usr/local/opt/openssl@1.1/lib/libcrypto.dylib\n```\nLinux distributions should ship with more up-to-date versions, so this won't be necessary.\n\n\n## Installation \n\nInstallation of the Python package [release](https://pypi.org/project/opendrop/) is straight forward using `pip3`:\n```\npip3 install opendrop\n```\n\nYou can also install the current development version by first cloning this repository, and then installing it via `pip3`:\n```\ngit clone https://github.com/seemoo-lab/opendrop.git\npip3 install ./opendrop\n```\n\n\n## Usage\n\nWe briefly explain how to send and receive files using `opendrop`.\nTo see all command line options, run `opendrop -h`.\n\n### Sending a File\n\nSending a file is typically a two-step procedure. You first discover devices in proximity using the `find` command.\nStop the process once you have found the receiver.\n```\n$ opendrop find\nLooking for receivers. Press enter to stop ...\nFound index 0 ID eccb2f2dcfe7 name John\u2019s iPhone\nFound index 1 ID e63138ac6ba8 name Jane\u2019s MacBook Pro\n```\nYou can then `send` a file using \n```\n$ opendrop send -r 0 -f /path/to/some/file\nAsking receiver to accept ...\nReceiver accepted\nUploading file ...\nUploading has been successful\n```\nInstead of the `index`, you can also use `ID` or `name`.\nOpenDrop will try to interpret the input in the order (1) `index`, (2) `ID`, and (3) `name` and fail if no match was found.\n\n### Receiving Files\n\nReceiving is much easier. Simply use the `receive` command. OpenDrop will accept all incoming files automatically and put received files in the current directory.\n```\n$ opendrop receive\n```\n\n\n## Current Limitations/TODOs\n\nOpenDrop is the result of a research project and, thus, has several limitations (non-exhaustive list below). I do not have the capacity to work on them myself but am happy to provide assistance if somebody else want to take them on.\n\n* *Triggering macOS/iOS receivers via Bluetooth Low Energy.* Apple devices start their AWDL interface and AirDrop server only after receiving a custom advertisement via Bluetooth LE (see USENIX paper for details). This means, that Apple AirDrop receivers may not be discovered even if they are discoverable by *everyone*.\n\n* *Sender/Receiver authentication and connection state.* Currently, there is no peer authentication as in Apple's AirDrop, in particular, (1) OpenDrop does not verify that the TLS certificate is signed by [Apple's root](opendrop/certs/apple_root_ca.pem) and (2) that the Apple ID validation record is correct (see USENIX paper for details). In addition, OpenDrop automatically accepts any file that it receives due to a missing connection state.\n\n* *Sending multiple files.* Apple AirDrop supports sending multiple files at once, OpenDrop does not (would require adding more files to the archive, modify HTTP /Ask request, etc.).\n\n\n## Related Papers\n\n* Milan Stute, Sashank Narain, Alex Mariotto, Alexander Heinrich, David Kreitschmann, Guevara Noubir, and Matthias Hollick. **A Billion Open Interfaces for Eve and Mallory: MitM, DoS, and Tracking Attacks on iOS and macOS Through Apple Wireless Direct Link.** *28th USENIX Security Symposium (USENIX Security \u201919)*, August 14\u201316, 2019, Santa Clara, CA, USA. [Link](https://www.usenix.org/conference/usenixsecurity19/presentation/stute)\n\n\n## Authors\n\n* **Milan Stute** ([email](mailto:mstute@seemoo.tu-darmstadt.de), [web](https://seemoo.de/mstute))\n* **Alexander Heinrich**\n\n\n## License\n\nOpenDrop is licensed under the **GNU General Public License v3.0**.\nWe use a modified version of the [`python-zeroconf`](https://pypi.org/project/zeroconf/) package (essentially adding rudimentary IPv6 and AWDL support) which is licensed under the **GNU Lesser General Public License v2.1**.\nBoth licenses are found in the `LICENSE` file.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://owlink.org", "keywords": "cli", "license": "", "maintainer": "", "maintainer_email": "", "name": "opendrop", "package_url": "https://pypi.org/project/opendrop/", "platform": "", "project_url": "https://pypi.org/project/opendrop/", "project_urls": { "Homepage": "https://owlink.org", "Research Paper": "https://usenix.org/conference/usenixsecurity19/presentation/stute", "Source": "https://github.com/seemoo-lab/opendrop" }, "release_url": "https://pypi.org/project/opendrop/0.10.2/", "requires_dist": [ "requests", "fleep", "ifaddr", "netifaces", "Pillow", "requests-toolbelt", "ctypescrypto", "libarchive-c" ], "requires_python": ">=3.6", "summary": "An open Apple AirDrop implementation", "version": "0.10.2" }, "last_serial": 5714973, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "f6c7a69ba18f0999742929b80f10d826", "sha256": "992df5f18bf9cf10aa605c4d1aaa3f378315ac0106571e2d9cbc5f94690c145a" }, "downloads": -1, "filename": "opendrop-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f6c7a69ba18f0999742929b80f10d826", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 21812, "upload_time": "2019-08-19T18:11:43", "url": "https://files.pythonhosted.org/packages/42/6a/0496e5e02684dfdd5f1f902504e2827dc73ddfc43cf65a08bd1c88ce2a84/opendrop-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a240f436e8e5f28cb37e51365d5056d4", "sha256": "1121e213613810ac5db151e1d954b4dc465244a04687216e5221a5070b506d79" }, "downloads": -1, "filename": "opendrop-0.0.0.tar.gz", "has_sig": false, "md5_digest": "a240f436e8e5f28cb37e51365d5056d4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3947, "upload_time": "2019-08-19T18:11:45", "url": "https://files.pythonhosted.org/packages/02/35/7e432225d613f1062d80c46dd91e5fadc185f31475b0e992f711851a4752/opendrop-0.0.0.tar.gz" } ], "0.10.0": [ { "comment_text": "", "digests": { "md5": "4207840e0ea66295705f0d07cb2da1f8", "sha256": "9d01e05696ca110cb83873ec296e88f20b4e08d2e4cf2b164457342d55442f10" }, "downloads": -1, "filename": "opendrop-0.10.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4207840e0ea66295705f0d07cb2da1f8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 57860, "upload_time": "2019-08-21T08:58:42", "url": "https://files.pythonhosted.org/packages/e2/19/d00702d4d61f4fa05e64cb48dd6619a2c7a36d16d093ba3926e58cfe7dde/opendrop-0.10.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d76e54988cc323d7e8ebff8a919f73a", "sha256": "232b89868220f66922adb3213e881bffd0cfda34793f0acc9aacb9c2dc63aa23" }, "downloads": -1, "filename": "opendrop-0.10.0.tar.gz", "has_sig": false, "md5_digest": "4d76e54988cc323d7e8ebff8a919f73a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 34238, "upload_time": "2019-08-21T08:58:48", "url": "https://files.pythonhosted.org/packages/c4/f4/97a7cc71dd75e54cf0b2ae29b755cf30459cf07c0cb3cfaa77a6cdc071e2/opendrop-0.10.0.tar.gz" } ], "0.10.1": [ { "comment_text": "", "digests": { "md5": "b2e85ca58133890d7b01ea4f41676cc0", "sha256": "cfe9b05a88db25e696e266d81590a3f54827a7b8708b2128ebfa4ec03804facb" }, "downloads": -1, "filename": "opendrop-0.10.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b2e85ca58133890d7b01ea4f41676cc0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 57851, "upload_time": "2019-08-21T08:58:44", "url": "https://files.pythonhosted.org/packages/9b/2f/69949a83ae4a02a977dc56b49787a35964621d84204d62c4d4360232bf31/opendrop-0.10.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "970acba21a02638dd77736738a061568", "sha256": "7738b1bc381f7026a4db06d5d15e0faddd706d556c22f299cd5b9d9dbd294553" }, "downloads": -1, "filename": "opendrop-0.10.1.tar.gz", "has_sig": false, "md5_digest": "970acba21a02638dd77736738a061568", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 34205, "upload_time": "2019-08-21T08:58:49", "url": "https://files.pythonhosted.org/packages/e5/99/d7f0669d8c72d7cebdc22c35f071d0da7dac9385d488b158f8c2d9f6ab45/opendrop-0.10.1.tar.gz" } ], "0.10.2": [ { "comment_text": "", "digests": { "md5": "f0722fee12246ed8c71a527e28e0d959", "sha256": "f5013781aaf547ad84b1df649b2f86c8b894250d6c108e1293c20410ab68a70b" }, "downloads": -1, "filename": "opendrop-0.10.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f0722fee12246ed8c71a527e28e0d959", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 57901, "upload_time": "2019-08-22T12:42:53", "url": "https://files.pythonhosted.org/packages/fb/3d/039b147978b9bfa3ed72391bda8b401729711d8a392d956b1b27763a789d/opendrop-0.10.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8e10de4acdfbfcf1880f9c6be575159", "sha256": "02768ba9f3daf72a81273545215b1997e9e6975af985a3b1a67e223b2c0bd61f" }, "downloads": -1, "filename": "opendrop-0.10.2.tar.gz", "has_sig": false, "md5_digest": "f8e10de4acdfbfcf1880f9c6be575159", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 34269, "upload_time": "2019-08-22T12:42:55", "url": "https://files.pythonhosted.org/packages/a6/1f/a4f94cbe8d9c84aa0177a8227208a82790f49c4bb4b28b649106ff680794/opendrop-0.10.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0722fee12246ed8c71a527e28e0d959", "sha256": "f5013781aaf547ad84b1df649b2f86c8b894250d6c108e1293c20410ab68a70b" }, "downloads": -1, "filename": "opendrop-0.10.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f0722fee12246ed8c71a527e28e0d959", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 57901, "upload_time": "2019-08-22T12:42:53", "url": "https://files.pythonhosted.org/packages/fb/3d/039b147978b9bfa3ed72391bda8b401729711d8a392d956b1b27763a789d/opendrop-0.10.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8e10de4acdfbfcf1880f9c6be575159", "sha256": "02768ba9f3daf72a81273545215b1997e9e6975af985a3b1a67e223b2c0bd61f" }, "downloads": -1, "filename": "opendrop-0.10.2.tar.gz", "has_sig": false, "md5_digest": "f8e10de4acdfbfcf1880f9c6be575159", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 34269, "upload_time": "2019-08-22T12:42:55", "url": "https://files.pythonhosted.org/packages/a6/1f/a4f94cbe8d9c84aa0177a8227208a82790f49c4bb4b28b649106ff680794/opendrop-0.10.2.tar.gz" } ] }