Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.33 KB

README.md

File metadata and controls

41 lines (32 loc) · 1.33 KB

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:

pip install opencv-python pyzbar

Usage

  • 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

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.