-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Open
Sudharsan-T
wants to merge
1
commit into
DhanushNehru:main
Choose a base branch
from
Sudharsan-T:feat/wifi-password-extractor-qr
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||||||
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
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
``` | ||||||
|
||||||
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. |
Empty file.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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/'.
Copilot uses AI. Check for mistakes.