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
- Host: GitHub
- URL: https://github.com/hrbrmstr/certstream-rust
- Owner: hrbrmstr
- License: mit
- Created: 2022-05-21T15:45:36.000Z (about 4 years ago)
- Default Branch: batman
- Last Pushed: 2022-05-21T15:56:57.000Z (about 4 years ago)
- Last Synced: 2025-04-09T02:51:10.484Z (about 1 year ago)
- Topics: certificate-generation, certstream, domains, rust
- Language: Rust
- Homepage:
- Size: 297 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```