|
楼主 |
发表于 2013-8-1 00:45:58
|
显示全部楼层
Local $Url = "http://ssl.ptlogin2.qq.com/check?uin=373998640&appid=1003903&js_ver=10036&js_type=0&login_sig=nYXrNlPpZ6HfM*hstVEK1hKQ7QhJm-*JUbjg2CweWyT2O68Syj*TCKrISdeMHq-a&u1=http%3A%2F%2Fweb2.qq.com%2Floginproxy.html&r=0.03652383586791991"
$oHTTP = ObjCreate("WinHttp.WinHttpRequest.5.1")
$oHTTP.SetTimeouts(15000,15000,15000,15000)
$oHTTP.Open("GET", $Url, False)
$oHTTP.setRequestHeader('Accept','application/javascript, */*;q=0.8')
$oHTTP.setRequestHeader('Referer','https://ui.ptlogin2.qq.com/cgi-bin/login?daid=164&target=self&style=5&mibao_css=m_webqq&appid=1003903&enable_qlogin=0&no_verifyimg=1&s_url=http%3A%2F%2Fweb2.qq.com%2Floginproxy.html&f_url=loginerroralert&strong_login=0&login_state=10&t=20130723001')
$oHTTP.setRequestHeader('Accept-Language','zh-CN')
$oHTTP.setRequestHeader('User-Agent','Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)')
$oHTTP.setRequestHeader('Accept-Encoding','gzip, deflate')
$oHTTP.setRequestHeader('Host','ssl.ptlogin2.qq.com')
$oHTTP.setRequestHeader('DNT','1')
$oHTTP.setRequestHeader('Connection','Keep-Alive')
$oHTTP.setRequestHeader('Cookie','ac=1,029,008; pgv_pvid=1387805356; uin_cookie=771745556; euin_cookie=C6F074EC6FB3DFAE6D0AD44C76BD6D901FC29B1904B415FB; pgv_info=pgvReferrer=&ssid=s1832896116; ptisp=ctc; verifysession=h02YXeiAv1oaCZqxeSue1_NKOdW7XyUBqylw2eWxq1QMurB7LAFDur_O7bO3C4mzwZmAG_DwZM65zAo2LGLwXRO4A**; ptui_loginuin=373998640; uikey=7f47622314fa251568237ba2224013068692b6493cb91011052694eb8211e5f0; chkuin=373998640; confirmuin=373998640; ETK=sfYuHYiP3ueG2BG7pH01N2OSkG*F4FHEa2xkb4JkL7-joUofM8g5dhsRNBY5yWyQdBm3u0tGnosvAZr7d5CoXQ__')
$oHTTP.Send()
MsgBox(0,"",$oHTTP.GetResponseHeader("Set-Cookie"))
MsgBox(0,"",$oHTTP.GetallResponseHeaders)
MsgBox(0,"",$oHTTP.ResponseBody)
以上是抓的数据包.... |
|