Last active
October 3, 2021 12:34
-
-
Save Techlogist/99cbeca2754f7de984cce57bd27746c6 to your computer and use it in GitHub Desktop.
Show your Wifi password easily
This file contains 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
REM License: GNU General Public License v2.0 | |
REM Author: Miguel | |
REM Website: www.techlogist.net | |
REM Post: https://techlogist.net/batch/show-your-wifi-password-easily | |
REM Description: This script helps users find their wifi passwords | |
REM OS/Language/Region: Windows/EN-US | |
@echo off | |
title Show WiFi password | |
color f0 | |
mode con:cols=70 lines=10 | |
goto start | |
:start | |
cls | |
REM Find the current network SSID | |
for /f "tokens=3" %%g in ('netsh wlan show interfaces^|find " SSID : "') do set _network_name=%%g | |
echo. | |
netsh wlan show profile %_network_name% key=clear|find "SSID name" | |
echo. | |
netsh wlan show profile %_network_name% key=clear|find "Key Content" | |
echo. | |
echo. | |
echo Press any key to exit | |
pause>nul | |
:exit | |
cls | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment