小樱 发表于 2017/12/7 02:14

linux 下利用wget绑定hosts,获取源IP的头部信息

wget --header="Host: 1.itzmx.com" -S http://188.165.157.116/filestores/2015/03/02//fb49f8505c2b9c072d2249dc0c9d8b73.mp3

HTTP/1.1 200 OK
Strict-Transport-Security: max-age=31104000
Server: kangle/sakura
Date: Wed, 06 Dec 2017 18:04:02 GMT
Last-Modified: Mon, 02 Mar 2015 11:00:19 GMT
Content-Type: audio/mpeg
X-Cache: MISS from kangle web server niaoyun
Age: 361
X-Cache: HIT from Anti-DDoS
Content-Length: 2649904
Connection: keep-alive


https的方法,要加入--no-check-certificate跳过证书检测
wget --header="Host: www.cdnbest.com" -S --no-check-certificate https://125.88.182.231/download/cdnbest/kangle-cdnbest-3.5.21.9-6-x64.tar.gz

不可名 发表于 2017/12/7 23:34

{:3025:}
页: [1]
查看完整版本: linux 下利用wget绑定hosts,获取源IP的头部信息