Skip to content

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

Notifications You must be signed in to change notification settings

melbadry9/SSLEnum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <[email protected]>

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
}