Driftwood performs lookups with the computed public key, so the private key never leaves where you run the tool. Additionally it supports some basic password cracking for encrypted keys.
Three easy ways to get started.
Run with Docker
cat private.key | docker run --rm -i trufflesecurity/driftwood --pretty-json -
Run pre-built binary
Minimal usage is
$ driftwood path/to/privatekey.pem
--help to see more options.
pkg/ are libraries that can be used for external consumption. Packages under
pkg/exp/ are considered to be experimental status and may have breaking changes.
Source : KitPloit – PenTest Tools!