51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1543|回复: 0
打印 上一主题 下一主题

[原创] 关联的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-12-15 10:48:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我录制了一个登陆网站的脚本,关联就是不成功。各位大哥能帮我看下!!
这是录制脚本:
Action()
{
web_add_cookie("1768e_lastfid=0; DOMAIN=bbs.81jun.com");
web_add_cookie("1768e_ol_offset=388; DOMAIN=bbs.81jun.com");
web_add_cookie("1768e_ipstate=1166147167; DOMAIN=bbs.81jun.com");
web_add_cookie("1768e_sid=77851cf6; DOMAIN=bbs.81jun.com");
web_add_cookie("1768e_ipfrom=26b5f9b4aa00638b26d5d91a14200ca5%09%C3%C0%B9%FA%0D; DOMAIN=bbs.81jun.com");
web_add_cookie("1768e_lastvisit=337%091166149866%09%2Findex.php%3F; DOMAIN=bbs.81jun.com");
web_url("bbs.81jun.com",
  "URL=http://bbs.81jun.com/",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  LAST);
web_url("ads",
  "URL=http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2433192627447740&dt=1166149993553&lmt=1166149993&format=728x90_as&output=html&url=http%3A%2F%2Fbbs.81jun.com%2F&ad_type=text&cc=369&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_java=true",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t2.inf",
  "Mode=HTML",
  LAST);
web_url("ads_2",
  "URL=http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2433192627447740&dt=1166149993673&lmt=1166149993&prev_fmts=728x90_as&format=125x125_as&output=html&url=http%3A%2F%2Fbbs.81jun.com%2F&ad_type=text&cc=369&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_java=true",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t3.inf",
  "Mode=HTML",
  LAST);
web_url("bdun.bsc",
  "URL=http://unstat.baidu.com/bdun.bsc?tn=81juncom&cv=0&cid=184291&csid=106&rkcs=0&bgcr=E1FDE8&ftcr=006633&rk=1&bd=1&tbsz=&tbst=&bdas=0",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t4.inf",
  "Mode=HTML",
  LAST);
web_submit_data("login.php",
  "Action=http://bbs.81jun.com/login.php",
  "Method=POST",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t5.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=pwuser", "Value=elen", ENDITEM,
  "Name=pwpwd", "Value=22222222", ENDITEM,
  "Name=gdcode", "Value=1323", ENDITEM,
  "Name=jumpurl", "Value=index.php", ENDITEM,
  "Name=step", "Value=2", ENDITEM,
  "Name=cktime", "Value=31536000", ENDITEM,
  LAST);
web_url("ads_3",
  "URL=http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2433192627447740&dt=1166150031167&lmt=1166150031&format=728x90_as&output=html&url=http%3A%2F%2Fbbs.81jun.com%2F&ad_type=text&ref=http%3A%2F%2Fbbs.81jun.com%2F&cc=369&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_java=true",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t6.inf",
  "Mode=HTML",
  LAST);
web_url("ads_4",
  "URL=http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2433192627447740&dt=1166150031277&lmt=1166150031&prev_fmts=728x90_as&format=125x125_as&output=html&url=http%3A%2F%2Fbbs.81jun.com%2F&ad_type=text&ref=http%3A%2F%2Fbbs.81jun.com%2F&cc=369&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_java=true",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t7.inf",
  "Mode=HTML",
  LAST);
web_url("bdun.bsc_2",
  "URL=http://unstat.baidu.com/bdun.bsc?tn=81juncom&cv=0&cid=184291&csid=106&rkcs=0&bgcr=E1FDE8&ftcr=006633&rk=1&bd=1&tbsz=&tbst=&bdas=0",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://bbs.81jun.com/",
  "Snapshot=t8.inf",
  "Mode=HTML",
  LAST);
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-16 20:37 , Processed in 0.076743 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表