All Projects → SukkaW → Nali Cli

SukkaW / Nali Cli

Licence: gpl-3.0
⚓️ Parse geoinfo of IP Address without leaving your terminal

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Nali Cli

Neomutt
✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
Stars: ✭ 2,343 (+1133.16%)
Mutual labels:  cli
Rfc
📄 Read RFCs from the command-line
Stars: ✭ 185 (-2.63%)
Mutual labels:  cli
Vcspull
🔄 synchronize projects via yaml/json manifest. built on libvcs
Stars: ✭ 187 (-1.58%)
Mutual labels:  cli
Mbt
The most flexible build tool for monorepo
Stars: ✭ 184 (-3.16%)
Mutual labels:  cli
Termuxarch
Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/
Stars: ✭ 183 (-3.68%)
Mutual labels:  cli
Staticrypt
Password protect a static HTML page
Stars: ✭ 2,280 (+1100%)
Mutual labels:  cli
Wowcup
⚽ 💻 The finest Worldcup 2018 CLI.
Stars: ✭ 183 (-3.68%)
Mutual labels:  cli
Gcli
🖥 Go CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features. Go的命令行应用,工具库,运行CLI命令,支持命令行色彩,用户交互,进度显示,数据格式化显示,生成bash/zsh命令补全脚本
Stars: ✭ 188 (-1.05%)
Mutual labels:  cli
Comiccrawler
An image crawler written in Python.
Stars: ✭ 185 (-2.63%)
Mutual labels:  cli
Claws
Awesome WebSocket CLient - an interactive command line client for testing websocket servers
Stars: ✭ 187 (-1.58%)
Mutual labels:  cli
Xo
Command line utility that composes regular expression matches.
Stars: ✭ 184 (-3.16%)
Mutual labels:  cli
Cli
A command line interface for pushing messages to gotify/server.
Stars: ✭ 185 (-2.63%)
Mutual labels:  cli
N8n
Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services.
Stars: ✭ 19,252 (+10032.63%)
Mutual labels:  cli
Ex cli
User friendly CLI apps for Elixir
Stars: ✭ 183 (-3.68%)
Mutual labels:  cli
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-1.05%)
Mutual labels:  cli
Tox
Command line driven CI frontend and development task automation tool.
Stars: ✭ 2,523 (+1227.89%)
Mutual labels:  cli
Downloader Cli
A simple downloader written in Python with an awesome customizable progressbar.
Stars: ✭ 186 (-2.11%)
Mutual labels:  cli
Fnt
apt for fonts, the missing font manager for macOS/linux
Stars: ✭ 187 (-1.58%)
Mutual labels:  cli
Drush
Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
Stars: ✭ 2,213 (+1064.74%)
Mutual labels:  cli
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+7318.95%)
Mutual labels:  cli

Nali CLI

⚓️ Parse info of IP Address or CDN's CNAME without leaving your terminal

Author Version License

Installation

yarn global add nali-cli
# npm install nali-cli -g

Prebuilt binaries is also available under the bin directory of the GitHub Repo.

Execute nali to download qqwry.dat right after installation:

$ nali

Required IP Database qqwry.dat will begin to download automatically during first time execution.

Usage

Query a simple IP address:

$ nali 1.145.1.4

1.145.1.4 [澳大利亚 墨尔本 Telstra]

Query IP addresses:

$ nali 114.5.1.4 191.919.8.10 1.0.0.1

114.5.1.4 [印度尼西亚] 191.919.8.10 1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]

Query and parse IP addresses, CNAME from stdin:

$ dig blog.skk.moe +short | nali

104.18.101.28 [美国 CloudFlare 公司 CDN 节点]
104.18.100.28 [美国 CloudFlare 公司 CDN 节点]


$ nslookup www.gov.cn 1.0.0.1 | nali
Server:		1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]
Address:	1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]#53

Non-authoritative answer:
www.gov.cn	canonical name = www.gov.cn.bsgslb.cn. [白山云 CDN]
www.gov.cn.bsgslb.cn [白山云 CDN]	canonical name = zgovweb.v.bsgslb.cn. [白山云 CDN]
Name:	zgovweb.v.bsgslb.cn [白山云 CDN]
Address: 107.155.25.117 [香港 Zenlayer]
Name:	zgovweb.v.bsgslb.cn [白山云 CDN]
Address: 107.155.25.118 [香港 Zenlayer]
Name:	zgovweb.v.bsgslb.cn [白山云 CDN]
Address: 107.155.25.116 [香港 Zenlayer]
Name:	zgovweb.v.bsgslb.cn [白山云 CDN]
Address: 107.155.25.120 [香港 Zenlayer]
Name:	zgovweb.v.bsgslb.cn [白山云 CDN]
Address: 2001:438:fffd:98::4
Name:	zgovweb.v.bsgslb.cn [白山云 CDN]
Address: 2001:438:fffd:98::5

Use Nali CLI built-in tools:

$ nali-nslookup blog.skk.moe

Server:         1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]
Address:        1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]#53

Non-authoritative answer:
Name:   blog.skk.moe
Address: 104.18.101.28 [美国 CloudFlare 公司 CDN 节点]
Name:   blog.skk.moe
Address: 104.18.100.28 [美国 CloudFlare 公司 CDN 节点]
Name:   blog.skk.moe
Address: 2606:4700::6812:641c
Name:   blog.skk.moe
Address: 2606:4700::6812:651c


$ dig cdn.jsdelivr.net @1.0.0.1 +short

cdn.jsdelivr.net.cdn.cloudflare.net. [Cloudflare]
104.16.89.20 [美国 CloudFlare 公司 CDN 节点]
104.16.88.20 [美国 CloudFlare 公司 CDN 节点]
104.16.85.20 [美国 CloudFlare 公司 CDN 节点]
104.16.87.20 [美国 CloudFlare 公司 CDN 节点]
104.16.86.20 [美国 CloudFlare 公司 CDN 节点]

Nali CLI has built-in tools:

  • nali-dig
  • nali-nslookup
  • nali-ping
  • nali-tracepath
  • nali-traceroute

Nali required related software installed. For example, in order to use nali-dig and nali-nslookup you need to have bind (dnsutils) installed.

Update IP Database:

nali update

Interface

$ nali --help

Usage: nali <command> [options]

Options:
  -v, --version  版本信息
  -h, --help     output usage information

Commands:
  parse          解析 stdin 或参数中的 IP 信息 (默认)
  update         更新 IP 库
  help [cmd]     display help for [cmd]

Related

Author

Nali CLI © Sukka, Released under the GPL-3.0 License.
Authored and maintained by Sukka with help from contributors (list).

Personal Website · Blog · GitHub @SukkaW · Telegram Channel @SukkaChannel · Twitter @isukkaw · Keybase @sukka

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].