Crates.io | nali |
lib.rs | nali |
version | 0.1.2 |
source | src |
created_at | 2024-10-28 08:53:40.661559 |
updated_at | 2024-10-29 17:46:56.950692 |
description | A command-line tool that enriches IP addresses with GeoIP information, enhancing network diagnostics with geographical context. |
homepage | |
repository | https://github.com/xxxbrian/nali-rs |
max_upload_size | |
id | 1425383 |
size | 64,905 |
This project is a Rust-based rewrite of the original Nali project, which was originally developed in Golang.
cargo install nali
pipe
$ echo IP 6.6.6.6 | nali
IP 6.6.6.6 [United States]
use Ctrl + C
to exit
$ nali
123.23.23.23
123.23.23.23 [Vietnam Vĩnh Long Province]
1.0.0.1
1.0.0.1 [Australia]
8.8.8.8
8.8.8.8 [United States]
^C
dog
$ dog crates.io @quic://doh.nszero.net | nali
crates.io. A IN 1s 13.33.88.13 [United States] dns.nszero.net:853
crates.io. A IN 1s 13.33.88.97 [United States] dns.nszero.net:853
crates.io. A IN 1s 13.33.88.22 [United States] dns.nszero.net:853
crates.io. A IN 1s 13.33.88.79 [United States] dns.nszero.net:853
nslookup
$ nslookup crates.io 8.8.8.8 | nali
Server: 8.8.8.8 [United States]
Address: 8.8.8.8 [United States]
#53
Non-authoritative answer:
Name: crates.io
Address: 13.226.61.78 [United States]
Name: crates.io
Address: 13.226.61.46 [United States]
Name: crates.io
Address: 13.226.61.96 [United States]
Name: crates.io
Address: 13.226.61.110 [United States]
Because nali can read the contents of the stdin
pipeline, it can be used with any program.
bash abc.sh | nali
Nali will insert IP information after IP address.
Use like IPv4
$ dog crates.io @quic://doh.nszero.net | nali
NAME TYPE CLASS TTL ADDRESS NAMESERVER
crates.io. A IN 5s 13.33.88.13 [United States] doh.nszero.net:853
crates.io. A IN 5s 13.33.88.97 [United States] doh.nszero.net:853
crates.io. A IN 5s 13.33.88.22 [United States] doh.nszero.net:853
crates.io. A IN 5s 13.33.88.79 [United States] doh.nszero.net:853