A Python script that decodes QR codes containing Wi-Fi credentials and extracts the SSID, encryption type, and password. I initially built this just for fun to get the Wi-Fi password of my neighbor (don't worry, I didn't use it yet! π, but i will ππ). It's a handy tool for decoding Wi-Fi QR codes from images and getting the password quickly.
- Decode Wi-Fi QR codes (SSID, encryption type, password, hidden status).
- Extract and print Wi-Fi password directly from the QR code.
Make sure you have Python 3.x installed on your machine. You'll also need the following Python libraries:
opencv-python
pyzbar
You can install them using pip:
pip install opencv-python pyzbar
- Clone the repository:
git clone https://github.com/Kaoutherbo/QR_Code_Decoder.git
cd QR_Code_Decoder
Place the QR code image file in the same directory, or specify its path in the script.
- Run the Python script:
python main.py
- Example output:
Decoded QR Data: WIFI:S:MyNetwork;T:WPA;P:password123;H:false;;
Wi-Fi Password: password123
- The script reads the QR code image using OpenCV and decodes it using the pyzbar library.
- It extracts the Wi-Fi SSID, encryption type, and password from the QR code data and prints the password.