8000 GitHub - shammishailaj/sslcli: Pretty awesome command-line client for public SSLLabs API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

shammishailaj/sslcli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage demoInstallationFeature listUsageBuild StatusContributingTerms of UseLicense

sslcli is command-line client for SSLLabs public API.

IMPORTANT: Currently, SSLLabs API doesn't provide same info as SSLLabs website.

Usage demo

demo

Installation

From source

Before the initial install allows git to use redirects for pkg.re service (reason why you should do this described here):

git config --global http.https://pkg.re.followRedirects true

To build the SSLScan Client from scratch, make sure you have a working Go 1.5+ workspace (instructions), then:

go get github.com/essentialkaos/sslcli

If you want update SSLScan Client to latest stable release, do:

go get -u github.com/essentialkaos/sslcli

From ESSENTIAL KAOS Public repo for RHEL6/CentOS6

[sudo] yum install -y https://yum.kaos.st/6/release/x86_64/kaos-repo-9.1-0.el6.noarch.rpm
[sudo] yum install sslcli

From ESSENTIAL KAOS Public repo for RHEL7/CentOS7

[sudo] yum install -y https://yum.kaos.st/7/release/x86_64/kaos-repo-9.1-0.el7.noarch.rpm
[sudo] yum install sslcli

Prebuilt binaries

You can download prebuilt binaries for Linux and OS X from EK Apps Repository.

Feature list

  • Superb UI
  • Output very similar to SSLLabs website output
  • Checking many hosts at once
  • Checking hosts defined in the file
  • Check resumption
  • JSON/XML/YAML/Text output for usage in third party scripts

Usage

Usage: sslcli {options} host…

Options

  --format, -f text|json|yaml|xml    Output result in different formats
  --detailed, -d                     Show detailed info for each endpoint
  --ignore-mismatch, -i              Proceed with assessments on certificate mismatch
  --avoid-cache, -c                  Disable cache usage
  --public, -p                       Publish results on sslscan.com
  --perfect, -P                      Return non-zero exit code if not A+
  --notify, -n                       Notify when check is done
  --quiet, -q                        Don't show any output
  --no-color, -nc                    Disable colors in output
  --help, -h                         Show this help message
  --version, -v                      Show version

Examples

  sslcli google.com
  Check google.com

  sslcli -P google.com
  Check google.com and return zero exit code only if result is perfect (A+)

  sslcli -p -c google.com
  Check google.com, publish results, disable cache usage

  sslcli hosts.txt
  Check all hosts defined in hosts.txt file

Build Status

Branch Status
master Build Status
develop Build Status

Contributing

Before contributing to this project please read our Contributing Guidelines.

Terms of Use

This project is not affiliated with SSL Labs and not officially supported by SSL Labs. Before using this package please read Qualys SSL Labs Terms of Use.

Also you should:

  • Only inspect sites and servers whose owners have given you permission to do so;
  • Be clear that this tool works by sending assessment requests to remote SSL Labs servers and that this information will be shared with them.

License

Apache License, Version 2.0

About

Pretty awesome command-line client for public SSLLabs API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.2%
  • Makefile 3.0%
  • Dockerfile 0.8%
0