mac电脑上获取当前WiFi的密码

安装

1
brew install wifi-password

使用

1
wifi-password

#测试

1
2
3
4
5
6
7
8
9
10
11
12
13
1$brew install wifi-password
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
==> Downloading https://github.com/rauchg/wifi-password/archive/0.1.0.tar.gz
==> Downloading from https://codeload.github.com/rauchg/wifi-password/tar.gz/0.1
######################################################################## 100.0%
🍺 /usr/local/Cellar/wifi-password/0.1.0: 4 files, 3.4K, built in 6 seconds
2$wifi-password
… getting password for "WXIIVY".
… keychain prompt incoming.
✓ "ITKF1234"