A PowerShell script that retrieves stored Windows WiFi SSIDs and their cleartext passwords, outputting the data in JSON format for easy integration.
Retreives the SSID names and passwords in cleartext for each Wifi network stored on the computer running this powershell script and output to JSON.
This tool is primarily used by blue team security professionals or system administrators to quickly audit and extract WiFi credentials stored on a Windows machine. It facilitates security assessments and automation by providing cleartext passwords in a structured JSON format, useful for further analysis or integration with other tools.
The script uses Windows netsh commands that require administrator privileges on Windows 7 and 8 to access WiFi passwords; on Windows 10, normal user privileges are sufficient. Users should exercise caution when handling cleartext passwords and ensure proper permissions and ethical use. This tool is intended for authorized security assessments and blue team operations.
Download or clone the repository containing WifiInfo.ps1
Ensure you have PowerShell available on the Windows machine
Run the script with administrator privileges on Windows 7/8; normal user privileges suffice on Windows 10.\WifiInfo.ps1
Executes the script to retrieve stored WiFi SSIDs and passwords, outputting the results as JSON.