HTTP Traceroute

该工具用来跟踪http的forward响应。
如果访问的是https网站,那么检查证实,如果出错,则给出警告。
代码 http://digi.ninja/files/http_traceroute_1.1.tar.bz2
亦可参考: http://digi.ninja/projects/http_traceroute.php
root@kali:~/http_traceroute# ./http_traceroute.rb http://yahoo.com -c cookie.demo

http_traceroute 1.1 Robin Wood ([email protected]) (http://digi.ninja)

************************************************************
Starting at: http://yahoo.com
************************************************************
Requesting: http://yahoo.com
Response code: 301

=======
Headers
=======
date: Wed, 05 Nov 2014 16:11:00 GMT
via: http/1.1 ir27.fp.bf1.yahoo.com (ApacheTrafficServer)
server: ATS
location: https://www.yahoo.com/
content-type: text/html
content-language: en
cache-control: no-store, no-cache
connection: keep-alive
content-length: 1450

=======
Cookies
=======

===========
Redirecting
===========
*** Large body on redirect - length: 1450 ***
Location: https://www.yahoo.com/
Redirecting to: https://www.yahoo.com/

************************************************************
Requesting: https://www.yahoo.com/
Sending cookies: B=6enbr19a5kinh&b=3&s=d2
Response code: 200

=======
Headers
=======
date: Wed, 05 Nov 2014 16:11:02 GMT
p3p: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
vary: Accept-Encoding
content-type: text/html; charset=utf-8
age: 1
transfer-encoding: chunked
connection: keep-alive
via: http/1.1 ir6.fp.tw1.yahoo.com (ApacheTrafficServer)
server: ATS
cache-control: no-store, no-cache, private, max-age=0
expires: -1

=======
Cookies
=======

=======================
Certificate Information
=======================
Subject: /C=US/ST=California/L=Sunnyvale/O=Yahoo Inc./OU=Information Technology/CN=www.yahoo.com
Version: 2
Issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3
Not valid before: 2014-09-24 00:00:00 UTC
Not valid after: 2015-09-25 23:59:59 UTC

===============
End of the line
===============

============================
Cookies saved to cookie.demo
============================

引用
root@kali:~/http_traceroute# cat cookie.demo

{"json_class":"CookieJar::Jar","cookies":"[{\"name\":\"B\",\"value\":\"6enbr19a5kinh&b=3&s=d2\",\"domain\":\".yahoo.com\",\"path\":\"/\",\"created_at\":\"2014-11-05 16:06:10 +0000\",\"expiry\":\"2016-11-05 16:06:09 +0000\",\"json_class\":\"CookieJar::Cookie\"}]"}

你可能感兴趣的:(route)