Networking

- Look up website information (e.g. name server), searches for an object
in a RFC 3912 database.
This commit is contained in:
bonnie 2020-07-19 20:47:49 +08:00
parent 640fb02686
commit 0df09b76c3

View File

@ -2313,6 +2313,11 @@ nc -vw5 google.com 22
# nc: connect to google.com port 22 (tcp) failed: Network is unreachable # nc: connect to google.com port 22 (tcp) failed: Network is unreachable
``` ```
##### Look up website information (e.g. name server), searches for an object in a RFC 3912 database.
```bash
whois google.com
```
##### Show the SSL certificate of a domain ##### Show the SSL certificate of a domain
```bash ```bash
openssl s_client -showcerts -connect www.example.com:443 openssl s_client -showcerts -connect www.example.com:443