

1. 从命令行找到已连接网络的WiFi密码
$ ls etc/NetworkManager/system-connections/
'HP 7 VoiceTab Network' JioFi4_12E9FE sktab

[...]
[wifi]
mac-address=XX:XX:XX:XX:XX:XX
mac-address-blacklist=
mode=infrastructure
ssid=JioFi4_12E9FE
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=xxxxxxxxxxx
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto

$ sudo grep -r '^psk=' etc/NetworkManager/system-connections/
/etc/NetworkManager/system-connections/sktab:psk=xxxxxxxx
/etc/NetworkManager/system-connections/JioFi4_12E9FE:psk=xxxxxxxx
$ sudo grep psk= etc/NetworkManager/system-connections/*
$ sudo grep -hr '^psk=' etc/NetworkManager/system-connections/
psk=xxxxxxxx
psk=xxxxxxxx
2. 从网络管理器(GUI)中找到已连接网络的WiFi密码



3. 使用Wifresti查找已连接网络的WiFi密码
在Linux中安装Wifresti
$ git clone https://github.com/LionSec/wifresti.git
$ cd wifresti/
$ sudo cp wifresti/wifresti.py usr/bin/wifresti
$ chmod +x usr/bin/wifresti
$ sudo wifresti
/$$ $$$$$$ $$ $$
|__/ $$__ $$ | $$ |__/
$$ $$ $$ $$| $$ \__//$$$$$$ $$$$$$ $$$$$$$ $$$$$$ $$
| $$ | $$ | $$| $$| $$$$ $$__ $$ $$__ $$ $$_____/|_ $$_/ | $$
| $$ | $$ | $$| $$| $$_/ | $$ \__/| $$$$$$$$| $$$$$$ | $$ | $$
| $$ | $$ | $$| $$| $$ | $$ | $$_____/ \____ $$ | $$ $$| $$
| $$$$$/$$$$/| $$| $$ | $$ | $$$$$$$ $$$$$$$/ | $$$$/| $$
\_____/\___/ |__/|__/ |__/ \_______/|_______/ \___/ |__/
Author: LionSec | Website: www.neodrix.com | @lionsec1 V1.0
Please choose your operating system.
1) linux
2) Windows
3) Mac OS
> 1
[...]
[...]
All wireless networks :
HP 7 VoiceTab Network
JioFi4_12E9FE
sktab
Insert the network name , or press (a) to see information about all networks.
> JioFi4_12E9FE
###################################### - JioFi4_12E9FE - ######################################
key-mgmt=wpa-psk
psk=xxxxxxxx
#############################################################################################
[...]





文章转载自开源视界,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




