'README.md' ändern

This commit is contained in:
Kaisa Marysia 2021-10-29 18:09:58 +02:00
parent da064f3531
commit 64ed91965a

View file

@ -1,17 +1,25 @@
![](https://git.elektrollart.org/Elektroll/sslchecker/blob/main/sslchecker.png?raw=true) ![](https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker.png)
# sslchecker # sslchecker
**sslcheker** is wrapper written in bash for openssl and nmap, which checks the ssl certs and used TLS ciphers of a host. This tool checks when a certificate has been valid and when it expires. Also you get the information about the CA, for which domains the SSL certificate is valid and the IP adresse and PTR Record of the host. **sslcheker** is wrapper written in bash for openssl and nmap, which checks the ssl certs and used TLS ciphers of a host. This tool checks when a certificate has been valid and when it expires. Also you get the information about the CA, for which domains the SSL certificate is valid and the IP adresse and PTR Record of the host.
## Install ## Install
Copy this repository <br> Copy this repository
```git clone https://git.elektrollart.org/Elektroll/sslchecker``` <br> ```
or download the script file with wget <br> git clone https://git.elektrollart.org/Elektroll/sslchecker
```wget https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker``` <br> ```
or with curl <br> or download the script file with wget
```curl https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker -o ./sslchecker```. <br> ```
wget https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker
```
or with curl
```
curl https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker -o ./sslchecker
```
If you want and trust me, you may also download the file into ```/usr/bin/``` so you can run it global <br> If you want and trust me, you may also download the file into ```/usr/bin/``` so you can run it global
```sudo curl https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker -o /usr/bin/sslchecker``` and make it executable ```sudo chmod +x /usr/bin/sslchecker``` <br> ```
sudo curl https://git.elektrollart.org/Elektroll/sslchecker/raw/branch/master/sslchecker -o /usr/bin/sslchecker``` and make it executable ```sudo chmod +x /usr/bin/sslchecker
```
In this case you can update the script file by running `sslchecker` with the `-u` option. In this case you can update the script file by running `sslchecker` with the `-u` option.
## Usage ## Usage
@ -28,13 +36,15 @@ Options:
--help show this help page --help show this help page
``` ```
### SSL Certificates ### SSL Certificates
The local file option give you an overview about certificate file. Just use ```sslchecker -f [/path/to/file]``` <br> The local file option give you an overview about certificate file. Just use ```sslchecker -f [/path/to/file]```
With the `-h [host]` option you can check the ssl certificate of a remote host, like github.com. With the `-h [host]` option you can check the ssl certificate of a remote host, like github.com.
![](https://git.elektrollart.org/Elektroll/sslchecker/blob/main/screenshot.png?raw=true) ![](https://git.elektrollart.org/Elektroll/sslchecker/blob/main/screenshot.png?raw=true)
If your application runs on another port number, you may set the port with the `-p [port]` option. <br> If your application runs on another port number, you may set the port with the `-p [port]` option.
```sslchecker -h github.com -p 8443``` <br> ```
sslchecker -h github.com -p 8443
```
### TLS Ciphers ### TLS Ciphers
To get a list of used ciphers of the use the `-c [host]` option. To get a list of used ciphers of the use the `-c [host]` option.