小樱 发表于 2015/4/23 19:48

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

curl -I -x 125.88.190.36:80 http://1.itzmx.com/filestores/2015/03/02//fb49f8505c2b9c072d2249dc0c9d8b73.mp3

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 23 Apr 2015 11:44:03 GMT
Content-Type: audio/mpeg
Content-Length: 2649904
Connection: keep-alive
X-Powered-By-360WZB: wangzhan.360.cn
Last-Modified: Mon, 02 Mar 2015 11:00:19 GMT
VAR-Cache: EXPIRED
cache-control: max-age=31104000
age: 0


第二种方法
curl -I -H "Host: 1.itzmx.com" http://125.88.190.36/filestores/2015/03/02//fb49f8505c2b9c072d2249dc0c9d8b73.mp3

我寂寞 发表于 2015/4/23 20:34

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