/
WiFi_Password_Viewer.bat
78 lines (72 loc) · 1.91 KB
/
WiFi_Password_Viewer.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@echo off
title WiFi Password Viewer
:start
cls
echo.
echo [7mWiFi Password Viewer v1.0[0m
echo --------------------------------
echo Author : [41;93mArea Master[0m
echo Website : [44;93mWidane Forums[0m
echo Link : https://www.widane.com
echo --------------------------------
echo.
echo 1 - Run as Administrator [91m(Recommended)[0m
echo 2 - View all saved WiFi profiles
echo 3 - View password for selected SSID
echo 4 - Go to Widane Forums
echo.
set /p num="Enter Number: "
if %num%==1 goto admin
if %num%==2 goto show
if %num%==3 goto getpass
if %num%==4 start https://www.widane.com/
goto start
:show
cls
echo.
echo [7mWiFi Password Viewer v1.0[0m
echo --------------------------------
echo Author : [41;93mArea Master[0m
echo Website : [44;93mWidane Forums[0m
echo Link : https://www.widane.com
echo --------------------------------
echo.
netsh wlan show profiles
pause>nul
goto start
:getpass
cls
echo.
echo [7mWiFi Password Viewer v1.0[0m
echo --------------------------------
echo Author : [41;93mArea Master[0m
echo Website : [44;93mWidane Forums[0m
echo Link : https://www.widane.com
echo --------------------------------
echo.
set /p ssid="Enter SSID Name: "
cls
echo.
echo [7mWiFi Password Viewer v1.0[0m
echo --------------------------------
echo Author : [41;93mArea Master[0m
echo Website : [44;93mWidane Forums[0m
echo Link : https://www.widane.com
echo --------------------------------
echo.
echo.
echo SSID Name:
netsh wlan show profile name="%ssid%" key=clear | findstr /a:4 "name"
echo.
echo Security mode:
netsh wlan show profile name="%ssid%" key=clear | findstr /a:4 "Authentication"
echo.
echo WiFi Password:
netsh wlan show profile name="%ssid%" key=clear | findstr /a:4 "Key"
echo.
echo [41m*If results empty, Please run this program as Administrator and/or check your entered SSID name.[0m
pause>nul
goto start
:admin
Powershell -Command "& { Start-Process \"%~n0%~x0\" -verb RunAs}"
:end