This Windows batch script is designed to extract and save access keys for Wi-Fi networks saved on your system. It scans and records data related to wireless network access in a file named wifi_keys.txt
. Please note that using this script may require permissions and compliance with data protection and privacy laws.
Author: d1yorhay
Before using this script, ensure you have the following:
- Windows operating system
- Administrator or elevated privileges
- Download the script to your computer.
git clone https://github.com/d1yorhay/windows-wifi-key-thief
- Open the script folder.
cd windows-wifi-key-thief
- Run the script.
script.bat
You can also run the script from Explorer
The script performs the following steps:
- It sets the local environment variable to enable delayed expansion and changes the code page to 65001 to support UTF-8 characters.
- It uses the
netsh wlan show profiles
command to list the Wi-Fi network profiles and saves the output to a temporary file namedtemp
. - It processes the
temp
file, extracting Wi-Fi network names and obtaining their access keys. - The extracted data is appended to the
wifi_keys.txt
file, and a signature is added to indicate the script's authorship.
Please exercise caution and ensure you have the necessary permissions to run this script, as it may involve accessing sensitive information.
This script is provided for educational and informational purposes only. Any use of this script to access Wi-Fi networks without authorization may be illegal and unethical. Always respect privacy and adhere to the laws and regulations in your jurisdiction.
Use this script responsibly and only on networks for which you have explicit permission to access. The author and contributors are not responsible for any misuse or illegal activities involving this script.
This script is distributed under the MIT License.
For questions, suggestions, or issues, please open an issue on the GitHub repository.
Enjoy responsibly!