赞
踩
Ubuntu 18.04.3 LTS, 64bit
已经连接的wifi信息保存在/etc/NetworkManager/system-connections/
下
这个目录下的几个文件就是已经连接过的wifi名字(SSID).
打开其中一项, 键wifi-security.psk
对应的值就是密码.
gerrylon@Inspiron-7472:~ $ cd /etc/NetworkManager/system-connections/ gerrylon@Inspiron-7472:/etc/NetworkManager/system-connections $ ls gl-wifi 'HONOR 20i' gerrylon@Inspiron-7472:/etc/NetworkManager/system-connections $ sudo cat 'HONOR 20i' [connection] id=HONOR 20i uuid=5a0f5630-5a41-436d-8b38-dc629c251a1c type=wifi permissions= [wifi] mac-address=FC:01:7C:0D:49:FD mac-address-blacklist= mode=infrastructure ssid=HONOR 20i [wifi-security] auth-alg=open key-mgmt=wpa-psk psk=12346789 [ipv4] dns-search= method=auto [ipv6] addr-gen-mode=stable-privacy dns-search= method=auto
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。