用 c# 做了一个模拟 multipart/form-data POST提交的工具(代码就不列了)。但总是提交不成功,下面用HTTPLOOK捕获的我的程序和IE提交的参数区别,发现只有:“3511 bytes skipped”这个地方不一样,也就是说POST的数据长度不一样,但是这些POST数据HTTPLOOK捕获不到,所以没办法对比。我想问有没有其它软件可以捕获到的,对比一下我的程序和IE提交到底有什么区别。据说“sniffer pro”可以捕获,我下载了,但没有找到捕获的地方(那个软件有点复杂)。我的问题跟这个基本一样:http://www.cnblogs.com/dxxhh/archive/2007/11/16/961897.html请高手指条明路!!!
浏览器POST /phpwind/post.php? HTTP/1.1
Accept: */*
Referer: http://localhost/phpwind/post.php?fid=2
Accept-Language: zh-cn
Content-Type: multipart/form-data; boundary=---------------------------7d72fda440308
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; CNCDialer; Maxthon; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: localhost
Content-Length: 3511
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: CHc_sid=hNPflh; rtime=0; ltime=1198496166156; w08_eid=18067026-http%3A//localhost/dvbbs/index.asp%3Fboardid%3D1; 12032_AdminUser=UlMODQdbDwEHAj5QXFVaWmwNBlsADApaAQ0FDQMJDgpRDAEBAlUBBFVTXwgIUwNSCA%3D%3D; 12032_lastfid=2; 12032_ol_offset=97; 12032_ck_info=%2F%09; 12032_winduser=UmsABwFWXA4HBVQFD1oHDQNVBwACBFVRWgBXBQ9UXFkGDQ%3D%3D; 12032_lastvisit=675%091198607640%09%2Fphpwind%2Fpost.php%3Ffid%3D2; 12032_ipfrom=f528764d624db129b32c21fbca0cb8d6%09%B1%BE%B5%D8%CD%F8%C2%E7%0D; CHc_visitedfid=2; CHc_cookietime=2592000; CHc_auth=2B%2B57BVuBRsZxO2VYINbxLO1uEPtwrU0e56ZrsNqXSQlES0O11q%2FpBj5Lw
3511 bytes skipped. Reason: The content type is not captured.软件POST /phpwind/post.php? HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
Cache-Control: no-cache
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; CNCDialer; Maxthon; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Referer: http://localhost/phpwind/post.php?fid=2
Cookie: CHc_sid=hNPflh; rtime=0; ltime=1198496166156; w08_eid=18067026-http%3A//localhost/dvbbs/index.asp%3Fboardid%3D1; 12032_AdminUser=UlMODQdbDwEHAj5QXFVaWmwNBlsADApaAQ0FDQMJDgpRDAEBAlUBBFVTXwgIUwNSCA%3D%3D; 12032_lastfid=0; 12032_ol_offset=97; 12032_ck_info=%2F%09; 12032_winduser=UmsABwFWXA4HBVQFD1oHDQNVBwACBFVRWgBXBQ9UXFkGDQ%3D%3D; 12032_lastvisit=294%091198607259%09%2Fphpwind%2Findex.php%3F; 12032_ipfrom=f528764d624db129b32c21fbca0cb8d6%09%B1%BE%B5%D8%CD%F8%C2%E7%0D; CHc_visitedfid=2; CHc_cookietime=2592000; CHc_auth=2B%2B57BVuBRsZxO2VYINbxLO1uEPtwrU0e56ZrsNqXSQlES0O11q%2FpBj5Lw
Content-Type: multipart/form-data; boundary=-----------------------------7d72fda440308
Host: localhost
Content-Length: 2029
Connection: Keep-Alive
2029 bytes skipped. Reason: The content type is not captured.