WinSock怎么提取向网页表单发送的数据包及包头〔顶者有分〕
本拉灯 2004-09-17 09:48:11 WinSock怎么提取向网页表单发送的数据包及包头
如用WinSock将某一数据,发送到某一网页上,
提取发送前的数据,及发送后反回的数据
功能类似WSockExpert.exe软件一样,
请问怎么做。
这是我用WSockExpert.exe提取,在包发送前的数据
POST /savepost.asp?action=sre&method=fastreply&BoardID=1 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */*
Referer: http://bbs.dvbbs.net/dispbbs.asp?boardID=1&ID=807375&page=1
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Host: bbs.dvbbs.net
Content-Length: 233
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: bbs%2Edvbbs%2Enet%2FKill=kill=0; bbs%2Edvbbs%2Enet%2F=UserID=91526&usercookies=0&StatUserID=21813643721&userclass=%CF%C0%CA%A5&username=wyd1520&password=v0rdu3g775Uqx735&userhidden=2; ASPSESSIONIDSAAQCTBT=AKDDGJNACBHINEFHGPGHGKKM; upNum=0; Dvbbs=passwd=%7B%24memberword%7D&followup=1796731&RootID=807375&star=1&Body=%B2%BB%CA%C7%B2%A1DU%C3%BB%CA%C2%B5%C4&TotalUseTable=dv_bbs1&UserName=wyd1520&ShowFacePage=1&Expression=face1.gif&signflag=yes&Submit=OK%21%B7%A2%B1%ED%BB%D8%B8%B4