-
-
Notifications
You must be signed in to change notification settings - Fork 360
Add WiFi Password Extractor and QR code generator script #472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Wi-Fi Password Extractor and QR Code Generator | ||
|
||
This Python script helps you extract saved Wi-Fi profiles and passwords from your Windows computer and generates QR codes for each network. You can scan the QR code with your phone or other devices to connect quickly. | ||
|
||
## Features | ||
|
||
* Lists all saved Wi-Fi networks (SSIDs) | ||
* Retrieves saved Wi-Fi passwords (if available) | ||
* Creates QR codes with the Wi-Fi credentials | ||
* Saves each QR code as a PNG image | ||
|
||
## Requirements | ||
|
||
* Operating System: Windows only | ||
* Python: Version 3.8 or above | ||
|
||
## Installation | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/yourusername/.git | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The git clone URL is incomplete and contains a placeholder. It should include the actual repository name after 'yourusername/'.
Suggested change
git clone https://github.com/yourusername/.git
git clone https://github.com/your-github-username/WiFi_QR_Generator.git
Copilot uses AI. Check for mistakes. |
||
cd Wifi_QR_Generator | ||
``` | ||
|
||
2. Install the required Python libraries: | ||
|
||
```bash | ||
pip install qrcode[pil] | ||
``` | ||
|
||
## How to Use | ||
|
||
Run the script using Python: | ||
|
||
```bash | ||
python WiFi_QR_Generator.py | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The filename 'WiFi_QR_Generator.py' is inconsistent with the folder structure. Based on the PR description, the actual script name should be 'wifi_qr.py'.
Suggested change
python WiFi_QR_Generator.py
python wifi_qr.py
Copilot uses AI. Check for mistakes. |
||
``` | ||
|
||
After running the script: | ||
|
||
* A message will appear showing the progress | ||
* QR code PNG files will be saved in the same directory | ||
* Each file will be named after the Wi-Fi network (e.g., `MyHomeWiFi.png`) | ||
|
||
## Output Format | ||
|
||
Each QR code contains Wi-Fi configuration details using the standard format: | ||
|
||
``` | ||
WIFI:T:WPA;S:SSID;P:PASSWORD;; | ||
``` | ||
|
||
You can scan this QR code using your phone to connect to the Wi-Fi automatically. | ||
|
||
## Notes | ||
|
||
* This script uses the `netsh` command, which only works on Windows. | ||
* Administrator permissions may be needed to retrieve some saved Wi-Fi passwords. | ||
* Make sure Python and pip are correctly installed and added to your system PATH. | ||
|
||
## Example | ||
|
||
If your computer has a saved Wi-Fi network called `OfficeWiFi`, running the script will generate: | ||
|
||
``` | ||
OfficeWiFi.png | ||
``` | ||
|
||
You can then open and scan this QR code on your phone to connect without typing the password. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. |