
1 luojianxhlxt Dec 28, 2017 wifi 密码无线属性、安全就能看 公网 ip 用这个就行 http://www.net.cn/static/customercare/yourip.asp 。。。 |
2 bitholic Dec 28, 2017 这不是用 shell 命令就行了吗,比如 mac 下:curl myip.ipip.net && security find-generic-password -wa wifi-name |
4 agostop Dec 28, 2017 哈哈哈 |
6 neosfung Dec 28, 2017 里面用到 nm-tool,在 ubuntu 16.04 已经被替换为 nmtui |
7 sxd Dec 28, 2017 ng 和 angular-cli 重名了 |
11 zgzh Dec 28, 2017 获取公网 ip 我用 python -c "import socket; sock=socket.create_connection(('ns1.dnspod.net',6666)); print sock.recv(16); sock.close()" |
12 libowei Dec 28, 2017 获取公网 ip 我都是从百度直接搜 ip |
15 est Dec 28, 2017 macOS 看起来都是一行呢 security find-generic-password -wa $(networksetup -getairportnetwork en0 | awk '{print $NF}' ) |
16 est Dec 28, 2017 @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 cls1991 OP @est 厉害,不过最好与网卡名无关,en0, 也可能是 en1, en2 等. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep ' SSID' |
20 est Dec 28, 2017 |
23 chenyiping1995 Dec 28, 2017 via Android |
24 zhangsen1992 Dec 28, 2017 curl ifconfig.me |
28 Va1n3R Dec 29, 2017 Windows 平台 netsh wlan show profile netsh wlan show profile WiFi-name key=clear 不要太好用。 |