Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaoutherbo/qr_code_decoder
A Python script that extracts Wi-Fi credentials from QR codes. Fun and easy way to get network details from QR code images(just for messing with our neighbors 😁, totally for fun)
https://github.com/kaoutherbo/qr_code_decoder
opencv python pyzbar qrcode-decoder qrcode-scanner
Last synced: about 1 month ago
JSON representation
A Python script that extracts Wi-Fi credentials from QR codes. Fun and easy way to get network details from QR code images(just for messing with our neighbors 😁, totally for fun)
- Host: GitHub
- URL: https://github.com/kaoutherbo/qr_code_decoder
- Owner: Kaoutherbo
- Created: 2024-09-04T22:23:34.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-09-05T01:11:19.000Z (2 months ago)
- Last Synced: 2024-10-15T17:05:48.657Z (about 1 month ago)
- Topics: opencv, python, pyzbar, qrcode-decoder, qrcode-scanner
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QR-Code-Decoder
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.
## Features
- Decode Wi-Fi QR codes (SSID, encryption type, password, hidden status).
- Extract and print Wi-Fi password directly from the QR code.## Requirements
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:
```bash
pip install opencv-python pyzbar
```
## Usage
- Clone the repository:
```bash
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:
```bash
python main.py
```
- Example output:
```bash
Decoded QR Data: WIFI:S:MyNetwork;T:WPA;P:password123;H:false;;
Wi-Fi Password: password123
```
## Code Explanation
- 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.