公司网页每次POST的数据会有变化,怎么找到规律,请高手指教
公司内部网,网址做了更改POST /HermesWeb/login.aspx HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://sfisweb1.sz.p.com/HermesWeb/login.aspx
Accept-Language: zh-tw
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.4; SLCC1; EmbeddedWB 14.52 from: http://www.bsalsa.com/ EmbeddedWB 14.52; InfoPath.1; .NET CLR 3.0.04320)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: sfisweb1.sz.p.com
Content-Length: 242
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ASP.NET_SessionId=lonbdbngwbp24r45wyceia55; AspNetHermesAnonymousUser=74a64af0-b499-409c-b821-7a27b95b51b2
__VIEWSTATE=dDwtMTM2MzI2NzE5ODs7bDxMb2dpbjE6X2N0bDA6YXV0b0xvZ2luOz4%2BNStPl%2FVwDdjYlSxxGqs3mzOQ%2B%2Bo%3D&Login1%3A_ctl0%3AuserID=200800&Login1%3A_ctl0%3Apassword=12345&Login1%3A_ctl0%3AautoLogin=on&Login1%3A_ctl0%3AloginButton=+Login+
----------------------分隔线 --------------------------------------------------
POST /HermesWeb/login.aspx HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://sfisweb1.sz.p.com/HermesWeb/login.aspx
Accept-Language: zh-tw
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.4; SLCC1; EmbeddedWB 14.52 from: http://www.bsalsa.com/ EmbeddedWB 14.52; InfoPath.1; .NET CLR 3.0.04320)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: sfisweb1.sz.p.com
Content-Length: 236
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ASP.NET_SessionId=5kasoy554vtemzyq4b4ngia3; AspNetHermesAnonymousUser=242cf5cc-62f1-4422-a971-119356bc819f
__VIEWSTATE=dDwtMTM2MzI2NzE5ODs7bDxMb2dpbjE6X2N0bDA6YXV0b0xvZ2luOz4%2BApeztTLgOSa9GM14aREgi8XfoH4%3D&Login1%3A_ctl0%3AuserID=200800&Login1%3A_ctl0%3Apassword=12345&Login1%3A_ctl0%3AautoLogin=on&Login1%3A_ctl0%3AloginButton=+Login+
-----------------------分隔线 --------------------------------------------------
初学 POST,发现 红色部分会变, 过一段时间就会不一样,不知道开该如何处理,请高手指导。 老大们 高手们 出来透透气了 cookie是要变的哦 post的格式及相关要素如何取得??? 回复 4# wangms
不太懂?? 回复 3# ebhb
cookie是在变,但post 的数据中有一串也会变, 不知道和什么有关联。 你要关注上一次请求后服务器的response中的headers。 楼上正解
您的帖子长度不符合要求。 当前长度: 8 字节系统限制: 10 到 50000 字节 第一次get请求后,获取cookie,然后psot的时候把cookie带上就可以了 楼上正解。。。。。 回复 8# seniors
不是太懂可否给个例子 ,感谢!! 要是有httpwatch的完整导出的记录 估计高手能解决问题。
页:
[1]