在某网站抓包截获的信息,大家帮我分析分析,请问如何用Delphi编程构造Cookie信息(100分)

  • 主题发起人 主题发起人 hnxyy
  • 开始时间 开始时间
H

hnxyy

Unregistered / Unconfirmed
GUEST, unregistred user!
Sendto=dashi888&Content=test10.104.9.30(1064)->211.157.102.25(80)
POST /Message_Board/PostSend.asp HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-
powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwav
e-flash, */*
Referer: http://expert.csdn.net/Message_Board/Send.asp?sendto=EA888015&replyid=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)
Host: expert.csdn.net
Content-Length: 28
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: remenber=0; ASPSESSIONIDSQSRQAQC=INLOKIIDENIBMEPOBPINGIGK; room=66; user
name=dashi; speaknum=0; speaktime=2003%2D5%2D12+11%3A38%3A06; adminok=True; user
id=200238; info1=0; m%5Ftype=1; aszx=c5e37d9ef989ce9e191efc84271c2c55; mid=21108
4
 
Cookie格式是这样的’Set-Cookie:Name=Value;expires=Sun,22Feb2099 08:08:08 GMT’你把这种格式的字符串写到header中去就可以了.
 
TO:hnxyy

下面这些信息你是如何获得到的?

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)
Host: expert.csdn.net
Content-Length: 28
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: remenber=0; ASPSESSIONIDSQSRQAQC=INLOKIIDENIBMEPOBPINGIGK; room=66; user
name=dashi; speaknum=0; speaktime=2003%2D5%2D12+11%3A38%3A06; adminok=True; user
id=200238; info1=0; m%5Ftype=1; aszx=c5e37d9ef989ce9e191efc84271c2c55; mid=21108
4
 
后退
顶部