Crates.io | merklemap-cli |
lib.rs | merklemap-cli |
version | 0.5.0 |
source | src |
created_at | 2024-09-07 00:13:36.334343 |
updated_at | 2024-10-01 16:11:00.920916 |
description | A CLI client for the merklemap.com API |
homepage | |
repository | https://github.com/barre/merklemap-cli |
max_upload_size | |
id | 1366805 |
size | 53,446 |
A command-line interface (CLI) client for the merklemap API. This tool allows you to search / enumerate subdomains matching a given query and tail live subdomain discoveries from the Merklemap ingestion pipeline.
To install the MerkleMap CLI, you need to have Rust and Cargo installed on your system. If you don't have them installed, you can get them from rustup.rs.
Once you have Rust and Cargo installed, you can build and install the CLI by running:
cargo install merklemap-cli
This will compile the project and install the binary in your Cargo bin directory.
The MerkleMap CLI provides two main commands:
To search for subdomains matching a query:
merklemap-cli search <QUERY>
Replace <QUERY>
with your search term.
To tail live subdomain discoveries:
merklemap-cli tail
The search command outputs results in the following format:
domain=<domain> subject_common_name=<common_name> not_before=<timestamp> human_readable_not_before=<formatted_date>
The tail command outputs results in the following format:
hostname=<hostname> timestamp=<ISO8601_timestamp> human_readable_not_before=<formatted_date>
To build the project:
cargo build
Contributions are welcome! Please feel free to submit a Pull Request.