/SSLEnum

Extract SSL certificate data (Subject Name, Subject Alt Names, Organisation)

Primary LanguageRust

SSLEnum

Extract SSL certificate data (Subject Name, Subject Alt Names, Organisation)

Install

  • Install from crates.io
cargo install sslenum --force 
  • Intall from github
git clone https://github.com/melbadry9/SSLEnum.git
cd SSLEnum
cargo install --path .

Usage

  • Help
SSLEnum [SSL Data Enumeration] 1.0.1
Mohamed Elbadry <me@melbadry9.xyz>

USAGE:
    sslenum [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --domain <DOMAIN>      Sets domain to check
    -p, --port <PORT>          Sets port number [default: 443]    
    -t, --threads <THREADS>    Sets number of threads [default: 5]
$ cat subdomains.list | sslenum -t 5 -p 443
$ sslenum -d example.com | jq
  • Output
{
  "hostname": "example.com",
  "ip": "93.184.216.34",
  "org": [
    "Internet Corporation for Assigned Names and Numbers"
  ],
  "cn": [
    "www.example.org"
  ],
  "alt_names": [
    "www.example.org",
    "example.com",
    "example.edu",
    "example.net",
    "example.org",
    "www.example.com",
    "www.example.edu",
    "www.example.net"
  ],
  "dangling": false
}