1 个不稳定版本
0.1.0 | 2021 年 4 月 3 日 |
---|
#30 in #icmp
19KB
138 行
boop
boop
是一个命令行工具,旨在成为 ping
和 nmap
之间的超级简单混合体。该工具可以使用 ICMP ping 数据包快速探测主机并报告其状态。此探测功能可以通过程序中的 -n
标志与探测整个子网的宿主机的功能混合使用。
构建与安装
要构建 boop
,只需使用 cargo
sudo apt install liboping-dev
git clone https://github.com/ewpratten/boop.git
cd boop
cargo build
cargo install --path .
或者,要从 crates.io
安装,使用
cargo install boop-ping
用法
USAGE:
boop [FLAGS] [OPTIONS] <host>
FLAGS:
-h, --help Prints help information
-n, --scan-network Scan the entire subnet of the specified host
-V, --version Prints version information
OPTIONS:
-t, --timeout <timeout> Specify a ping timeout in seconds
ARGS:
<host> Host address
示例
# Pinging a host
boop 8.8.8.8
# Probing a subnet (192.168.1.0-255)
boop 192.168.1.1 -n
依赖项
~5–15MB
~162K SLoC