方便获取wifi密码, 以及本机IP和公网IP, 支持macos, Linux, Windows.
得到IP地址:
$ ng ip ` local_ip:192.168.1.114 public_ip:49.4.160.250 `
得到WiFi密码:
$ ng wp $ ng wp flyfish_5g ` flyfish_5g:hitflyfish123456 `
You can install “ng” via pip from PyPI:
$ pip install ng
$ ng --help Usage: ng [OPTIONS] COMMAND [ARGS]... Get password of the wifi you're connected, and your current ip address. Options: --help Show this message and exit. Commands: ip Show ip address. wp Show wifi password.