ssl-checker/README.md

35 lines
982 B
Markdown
Raw Normal View History

2018-04-18 09:48:19 +04:30
# SSL Checker
#### Simple Python script that collects SSL information from hosts
2018-04-18 16:32:41 +04:30
## About
2018-04-18 09:48:19 +04:30
It's a simple script running in python that collects SSL information then it returns the group of information in JSON.
2018-04-18 16:32:41 +04:30
## Requirements
You only need to installl pyOpenSSL:
`pip install pyopenssl`
## Usage
2018-04-18 09:48:19 +04:30
2018-04-18 09:59:32 +04:30
`python ssl_checker.py host1[:port] [host2:port] [host3:port]...`
Port is optional here. The script will use 443 if not specified.
2018-04-18 09:48:19 +04:30
2018-04-18 16:32:41 +04:30
## Example
2018-04-18 09:48:19 +04:30
```bash
2018-04-18 17:15:04 +04:30
narbeh@narbeh-xps:~/ssl-checker$ python ssl_checker.py test.com narbeh.org:443 archive.org facebook.com:443 twitter.com github.com google.com
Analyzing 7 hosts:
2018-04-18 09:48:19 +04:30
2018-04-19 11:28:07 +04:30
[+] test.com Expired: False
[+] narbeh.org Expired: False
[+] archive.org Expired: False
[-] facebook.com Failed: [Errno 111] Connection refused
[-] twitter.com Failed: [Errno 111] Connection refused
[+] github.com Expired: False
[+] google.com Expired: False
5 successful and 2 failed
```