An open API service indexing awesome lists of open source software.

https://github.com/hrbrmstr/certstream-rust

Extract all domains from a CertStream-compatible CTL websockets server to RocksDB
https://github.com/hrbrmstr/certstream-rust

certificate-generation certstream domains rust

Last synced: 10 months ago
JSON representation

Extract all domains from a CertStream-compatible CTL websockets server to RocksDB

Awesome Lists containing this project

README

          

# certstream-rust

Small funemployment Rust project to build a CLI program to read the websocket stream from and log all certificate domains to a [RocksDB](http://rocksdb.org) database, plus a small utility to dump the gathered domains from [RocksDB](http://rocksdb.org).

## Building

```
git clone git@github.com:hrbrmstr/certstream-rust
cargo build --release
```

## Installing

The following will put:

- `certstream`
- `dumpdoms`

into `~/.cargo/bin` unless you've modified the behaviour of `cargo install`.

```
$ cargo install --git https://github.com/hrbrmstr/certstream-rust
```

## Read from CertStream websocket

```
USAGE:
certstream [OPTIONS] --dbpath

OPTIONS:
-d, --dbpath
-h, --help Print help information
-p, --patience [default: 5]
-s, --server [default: wss://certstream.calidog.io/]
-V, --version Print version information
```

e.g.
```
$ certstream --dbpath=~/Data/cert_doms.1 # kill or ^C to stop
```

## See the domains

```
USAGE:
dumpdoms --dbpath
```

e.g.
```
$ dumpdoms --dbpath=~/Data/cert_doms.1 | tail -30
zyw017777.direct.quickconnect.to
zywolapki.polmedia.webd.pl
zyx.dzign4u.com
zyxus.keenetic.pro
zyy.aob.mybluehost.me
zyy.kqv.mybluehost.me
zyyid.muo.cc
zyzfnh.net
zyzyxllc.com
zz188.xyz
zz3wd.com
zzalale.com
zzb.cx
zzbolt.org
zzdzkbuxtcwxiru62jefplj2dy.ap-southeast-2.es.amazonaws.com
zzekasd.xyz
zzgljy.com
zznptabez1jijw5z.myfritz.net
zzsmarketing.com
zzx.admin.thinker.vc
zzx.api.thinker.vc
zzx.oauth.thinker.vc
zzx52.direct.quickconnect.to
zzyhomv.shop
zzyzxvape.synology.me
zzz.com.ar
zzz.org.ua
zzz.zzz.org.ua
zzz4ncfxemkkuulse6ctkwzrau.eu-west-3.es.amazonaws.com
zzzzbw.cn
```