域名信息分析
根据输入的网址,模拟curl命令获取域名相关http(s)信息
输出结果(例):
* Connected to www.cntrus.com (127.0.0.1) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=*.cntrus.com
* start date: Aug 04 00:00:00 2023 GMT
* expire date: Aug 03 23:59:59 2024 GMT
* common name: *.cntrus.com
* issuer: CN=cnTrus DV SSL CA,O="Zhejiang Huluwa Digital Certification Co., Ltd.",C=CN
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: www.cntrus.com
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Server: nginx/1.16.1
< Date: Wed, 27 Dec 2023 02:07:29 GMT
< Content-Type: text/html
< Content-Length: 153
< Connection: keep-alive