OpenWifiPass open source implementation of the grantor role in Apple’s Wi-Fi Password Sharing protocol.
Requirements
bluepy
dependency)Install
Clone this repository and install it:
git clone git@github.com/seemoo-lab/openwifipass.git
pip3 install ./openwifipass
Run
Run openwifipass
to share Wi-Fi credentials (SSID
and PSK
) with any requestor (we need super user privileges to use the Bluetooth subsystem):
sudo -E python3 -m openwifipass –ssid <SSID> –psk <PSK>
Use quoting of your shell to remove special meaning of certain characters in SSID
/PSK
. In the example below, we use single quotes ('
) to prevent shell expansion of the $
character in the PSK.
A successful run of the protocol would look as follows:
pi@raspberrypi:~/openwifipass $ sudo -E python3 -m openwifipass –ssid OWL –psk ‘$uper$ecretPassword’
Start scanning…
SSID match in PWS advertisement from aa:bb:cc:dd:ee:ff
Connect to device aa:bb:cc:dd:ee:ff
Send PWS1
Receive PWS2
Send M1
Receive M2
Send M3
Receive M4
Send PWS3
Receive PWS4
Wi-Fi Password Sharing completed
OPACK
This projects contains a reusable OPACK (de)serializer. Read OPACK.md for more information.
Authors
Publications
Disclaimer
OpenWifiPass is experimental software and is the result of reverse engineering efforts by the Open Wireless Link project. The code serves solely documentary and educational purposes. It is untested and incomplete. For example, the code does not verify the identity of the requestor. So, do not use this implementation with sensitive Wi-Fi credentials. OpenWifiPass is not affiliated with or endorsed by Apple Inc.
Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…
While file extensions in Linux are optional and often misleading, the file command helps decode what a…
The touch command is one of the quickest ways to create new empty files or update timestamps…
Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…
Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…
Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…