56 lines
845 B
Markdown
56 lines
845 B
Markdown
# ctfetch
|
|
|
|
Tools for working with Certificate Transparency log tiles.
|
|
|
|
## Install
|
|
|
|
```bash
|
|
go install ./cmd/ctfetch
|
|
go install ./cmd/tiledump
|
|
```
|
|
|
|
## Commands
|
|
|
|
### ctfetch
|
|
|
|
Fetch and dump leaf entries from CT logs.
|
|
|
|
```bash
|
|
ctfetch [--dumpall] <log-url> <leaf-index>
|
|
```
|
|
|
|
**Examples:**
|
|
|
|
Dump a specific entry:
|
|
```bash
|
|
ctfetch https://halloumi2026h1.mon.ct.ipng.ch 629794635
|
|
```
|
|
|
|
Dump all entries in the tile:
|
|
```bash
|
|
ctfetch --dumpall https://halloumi2026h1.mon.ct.ipng.ch 629794635
|
|
```
|
|
|
|
**Options:**
|
|
- `--dumpall`: Dump all entries in the tile instead of just the specified leaf
|
|
|
|
### tiledump
|
|
|
|
Read a CT log tile file or URL and dump all entries.
|
|
|
|
```bash
|
|
tiledump <tile-file-or-url>
|
|
```
|
|
|
|
**Examples:**
|
|
|
|
From a file:
|
|
```bash
|
|
tiledump tile.data
|
|
```
|
|
|
|
From a URL:
|
|
```bash
|
|
tiledump https://halloumi2026h1.mon.ct.ipng.ch/tile/data/x002/x460/135
|
|
```
|