|
1
wifi 密码无线属性、安全就能看
公网 ip 用这个就行 http://www.net.cn/static/customercare/yourip.asp 。。。 |
|
2
这不是用 shell 命令就行了吗,比如 mac 下:curl myip.ipip.net && security find-generic-password -wa wifi-name
|
|
agostopDec 28, 2017
4
哈哈哈
|
|
neosfungDec 28, 2017
6
里面用到 nm-tool,在 ubuntu 16.04 已经被替换为 nmtui
|
|
sxdDec 28, 2017
7
ng 和 angular-cli 重名了
|
|
zgzhDec 28, 2017
11
获取公网 ip 我用 python -c "import socket; sock=socket.create_connection(('ns1.dnspod.net',6666)); print sock.recv(16); sock.close()"
|
|
liboweiDec 28, 2017
12
获取公网 ip 我都是从百度直接搜 ip
|
|
15
macOS 看起来都是一行呢
security find-generic-password -wa $(networksetup -getairportnetwork en0 | awk '{print $NF}' ) |
|
estDec 28, 2017
16
@zgzh
可以 $ python -c 's=__import__("socket").socket(2,2);s.connect(("8.8.8.8", 8));print(s.getsockname()[0])' 172.x.x.x 根本不用发起连接。 |
|
17
@est 厉害,不过最好与网卡名无关,en0, 也可能是 en1, en2 等.
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep ' SSID' |
|
20
|
|
chenyiping1995Dec 28, 2017 via Android
23
|
|
zhangsen1992Dec 28, 2017
24
curl ifconfig.me
|
|
Va1n3RDec 29, 2017
28
Windows 平台
netsh wlan show profile netsh wlan show profile WiFi-name key=clear 不要太好用。 |
|
29
@Va1n3R windows 与语言有关,解析 command 结果,稍微繁琐一点,所以暂时没做对 windows 的支持;
ps: 准备 windows 平台就简单支持中英文 |