strend
fetches data via the Shodan Trends API, please check docs for more information.
Grab the latest binary for your operating system
cargo install strend
brew tap thoongnv/homebrew-strend https://github.com/thoongnv/homebrew-strend
brew install strend
Waiting for reconsider: Homebrew/homebrew-core#140247
The strend
command can be launched with or without query.
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
Our application rendered to stderr
, so we could use println!("dump variable: {:?}", variable);
in code and then pine the output to a log file.
cargo run > debug.log
tail -f debug.log