in this article, I will show you how to find all wi-fi passwords saved on your computer
step: 1 open any editor like notepad or notepad ++
step: 2 write below the line of code,
@echo off
setlocal enabledelayedexpansion
for /f "tokens=2 delims=:" %%a in ('netsh wlan show profile') do (
set "ssid=%%~a"
call :getpwd "%%ssid:~1%%"
)
pause
:getpwd
set "ssid=%*"
for /f "tokens=2 delims=:" %%i in ('netsh wlan show profile name^="%ssid:"=%" key^=clear ^| findstr /C:"Key Content"') do (
echo Wi-Fi Name: %ssid% Password : %%i
)
setlocal enabledelayedexpansion
for /f "tokens=2 delims=:" %%a in ('netsh wlan show profile') do (
set "ssid=%%~a"
call :getpwd "%%ssid:~1%%"
)
pause
:getpwd
set "ssid=%*"
for /f "tokens=2 delims=:" %%i in ('netsh wlan show profile name^="%ssid:"=%" key^=clear ^| findstr /C:"Key Content"') do (
echo Wi-Fi Name: %ssid% Password : %%i
)
step: 3 save file as .bat extension (e.g., wifipassword.bat)
0 Comments
if you have any doubts , please let me know