11 个版本
0.2.2 | 2023 年 11 月 21 日 |
---|---|
0.2.1 | 2023 年 8 月 21 日 |
0.1.9 | 2023 年 8 月 16 日 |
#258 in 命令行界面
每月 32 次下载
290KB
2.5K SLoC
Shodan Trends TUI
在终端中搜索和可视化 Shodan 历史数据。
strend
通过 Shodan Trends API 获取数据,请查阅 文档 获取更多信息。
安装
下载适用于您操作系统的最新 二进制文件
Rust 包注册表
cargo install strend
Homebrew (macOS)
brew tap thoongnv/homebrew-strend https://github.com/thoongnv/homebrew-strend
brew install strend
等待重新考虑: https://github.com/Homebrew/homebrew-core/pull/140247
使用方法
strend
命令可以带查询或不带查询启动。
strend
strend --query "product:nginx port:443" --facets country:10
strend --help
Search and visualize Shodan historical data in the terminal.
Usage: strend [OPTIONS] [COMMAND]
Commands:
init Initialize Shodan API key, grab it from https://account.shodan.io
help Print this message or the help of the given subcommand(s)
Options:
--query <QUERY> Search query used to search the historical database, e.g. "product:nginx port:443"
--facets <FACETS> A comma-separated list of properties to get summary information on, e.g. country:10
-h, --help Print help
-V, --version Print version
调试
我们的应用程序渲染到 stderr
,因此我们可以在代码中使用 println!("dump variable: {:?}", variable);
并将输出写入日志文件。
cargo run > debug.log
tail -f debug.log
依赖关系
~11–21MB
~291K SLoC