This is a simple trick to read the already saved / registrated wlan / wifi passwords from your computer
How to do it
Important
- you need to have the password alrealy registered in your computer
- you need to know your SSID (the name of the wifi / wlan, e.g.
FritzBox1
)
You can although copy the code downbelow and safe it as a .bat
file, after running, it will display all saved in the terminal, but this is optional.
Now start
-
open
cmd.exe
(search it via the search bar) -
type in
netsh wlan show profile SSID key=clear
-
replace
SSID
with your network name -
scroll down to security settings
-
search for Key Content, this is the saved password
@echo off
@rem ==================================================
@rem
@rem a script to read all saved SSIDs
@rem
@rem script written by Shadowdara
@rem https://github.com/shadowdara/scripts
@rem
@rem ==================================================
setlocal EnableDelayedExpansion
for /f "tokens=2 delims=:" %%A in ('netsh wlan show profiles ^| findstr "Profil"') do (
set "profilename=%%A"
set "profilename=!profilename:~1!"
echo -----------------------------
echo Profil: !profilename!
netsh wlan show profile name="!profilename!" key=clear | findstr "Schlüsselinhalt"
)
echo -----------------------------
echo
echo Script ended
echo
echo Credit and More:
echo https://github.com/shadowdara/scripts
@pause
Please give credit when republishing