Skip to content

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)

Notifications You must be signed in to change notification settings

Kaoutherbo/QR_Code_Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

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)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages