|
本帖最后由 jhkdqaa 于 2009-5-22 17:10 编辑
当前网址:http://www.ec21.com/global/login/Login.jsp
html语句
<input class="form" type="text" onkeydown="EnterCheck(event)" maxlength="20" name="user_id"/>
<input class="form" type="password" onkeydown="EnterCheck(event)" maxlength="12" name="user_pw"/>
截取的包
sPOST /global/login/LoginSubmit.jsp HTTP/1.1
Host: www.ec21.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1b5pre) Gecko/20090426 Shiretoko/3.5b4pre (ayakawa PGU)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: gb2312,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.ec21.com/global/login/Login.jsp
Cookie: JSESSIONID=1834310114CC0EF58B2536F554D35643;
ec21_user=某某某
Content-Type: application/x-www-form-urlencoded
Content-Length: 73
nextUrl=%2F&inq_gubun=&user_id=某某某&user_pw=某的密码&forever=on
请问怎么写POST自动登录?或是指点下post语句的说明在哪里,实在是找不到 |
|