Maybe 发表于 2021-7-5 09:18:12

windows查看连接过的wifi名字和密码

本帖最后由 Maybe 于 2021-7-5 09:20 编辑

方法一:简单粗暴
直接上脚本
@echo off
chcp 437 >nul
for /f "tokens=1* delims=:" %%i in ('netsh wlan show profiles ^| findstr /c:"All User Profile"') do (
    call :GetPass %%j
)
pause
goto :eof
:GetPass
echo WiFi : %*
for /f "delims=" %%a in ('netsh wlan show profile name^="%*" key^=clear ^| findstr /c:"Key Content"') do (
    echo %%a
)
goto :eof
搞成bat文件 直接运行
效果就是wifi名 密码

方法二:繁琐命令
netsh wlan show profiles输入命令可以直接看到所有连接过的wifi名称
输入命令查看一个wifi的密码和其他信息
netsh wlan show profiles name="wifi的名字" key=clear



页: [1]
查看完整版本: windows查看连接过的wifi名字和密码