DISCUZ论坛,注册回放时报系统错误,有遇到过的大神吗
问题描述:discuz论坛,手工注册功能正常,但是生成的脚本,回放时报错,详细错误见附件图片。问题截图:见附件,错误界面.jpg
录制脚本:
Action()
{
web_url("forum.php",
"URL=http://192.168.5.127:8080/upload/forum.php",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t48.inf",
"Mode=HTML",
LAST);
web_custom_request("urs.asmx",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=hHY5NDMy1%2bw8z4SBpTLVNQ%3d%3d&MSURS-Patented-Lock=%2b5DlB9HVxQ8%3d",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t49.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"3\"><G>ED8654D5-B9F0-4DD9-B3E8-F8F560086FDF</G><O>00000000-0000-0000-0000-000000000000</O><D>9.0.8110.0</D><C>9.00.8112.16421</C><OS>6.1.7601.1.0</OS><I>9.0.8112.16421</I><L>en-US</L><R><Rq><URL>aHR0cDovLzE5Mi4xNjguNS4xMjc6ODA4MC91cGxvYWQvZm9ydW0ucGhw</URL><O>PRE</O><T>TOP</T><HIP>0.0.0.0</HIP></Rq></R></RepLookup>",
LAST);
web_add_cookie("eX59_2132_lastact=1441179939%09home.php%09misc; DOMAIN=192.168.5.127");
web_add_cookie("eX59_2132_sendmail=1; DOMAIN=192.168.5.127");
web_url("member.php",
"URL=http://192.168.5.127:8080/upload/member.php?mod=register",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.5.127:8080/upload/forum.php",
"Snapshot=t50.inf",
"Mode=HTML",
LAST);
web_custom_request("urs.asmx_2",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=Fl9ehZeRYabL5YrGqsaaZw%3d%3d&MSURS-Patented-Lock=0CugPLO6XnE%3d",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t51.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"3\"><G>ED8654D5-B9F0-4DD9-B3E8-F8F560086FDF</G><O>00000000-0000-0000-0000-000000000000</O><D>9.0.8110.0</D><C>9.00.8112.16421</C><OS>6.1.7601.1.0</OS><I>9.0.8112.16421</I><L>en-US</L><R><Rq><URL>aHR0cDovLzE5Mi4xNjguNS4xMjc6ODA4MC91cGxvYWQvbWVtYmVyLnBocD9tb2Q9cmVnaXN0ZXI=</URL><O>PRE</O><T>TOP</T><HIP>0.0.0.0</HIP></Rq></R></RepLookup>",
LAST);
web_custom_request("urs.asmx_3",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=3WmnkxBcjQ9Syor21cjQAg%3d%3d&MSURS-Patented-Lock=otT3V0Q1hS8%3d",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t52.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"3\"><G>ED8654D5-B9F0-4DD9-B3E8-F8F560086FDF</G><O>00000000-0000-0000-0000-000000000000</O><D>9.0.8110.0</D><C>9.00.8112.16421</C><OS>6.1.7601.1.0</OS><I>9.0.8112.16421</I><L>en-US</L><R><Rq><URL>aHR0cDovLzE5Mi4xNjguNS4xMjcvdXBsb2FkL21lbWJlci5waHA/bW9kPWxvZ2dpbmcmYWN0aW9uPWxvZ2luJmxvZ2luc3VibWl0PXllcyZpbmZsb2F0PXllcyZsc3N1Ym1pdD15ZXM=</URL><O>POST</O><T>ACTION</T><HIP>0.0.0.0</HIP></Rq><Rq><URL>aHR0cDovLzE5Mi4xNjguNS4xMjcvdXBsb2FkL3NlYXJjaC5waHA/c2VhcmNoc3VibWl0PXllcw==</URL><O"
">POST</O><T>ACTION</T><HIP>0.0.0.0</HIP></Rq></R></RepLookup>",
LAST);
web_url("forum.php_2",
"URL=http://192.168.5.127:8080/upload/forum.php?mod=ajax&inajax=yes&infloat=register&handlekey=register&ajaxmenu=1&action=checkusername&username=zyb4007",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.5.127:8080/upload/",
"Snapshot=t53.inf",
"Mode=HTML",
EXTRARES,
"Url=../favicon.ico", "Referer=", ENDITEM,
"Url=static/js/ajax.js?U9F", "Referer=http://192.168.5.127:8080/upload/member.php?mod=register", ENDITEM,
LAST);
web_submit_data("member.php_2",
"Action=http://192.168.5.127:8080/upload/member.php?mod=register&inajax=1",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://192.168.5.127:8080/upload/member.php?mod=register",
"Snapshot=t54.inf",
"Mode=HTML",
ITEMDATA,
"Name=regsubmit", "Value=yes", ENDITEM,
"Name=formhash", "Value=1ea6306a", ENDITEM,
"Name=referer", "Value=forum.php", ENDITEM,
"Name=activationauth", "Value=", ENDITEM,
"Name=username1", "Value=zyb4007", ENDITEM,
"Name=password1", "Value=123456", ENDITEM,
"Name=password3", "Value=123456", ENDITEM,
"Name=email1", "Value=zyb4007@qq.com", ENDITEM,
LAST);
lr_think_time(5);
web_url("forum.php_4",
"URL=http://192.168.5.127:8080/upload/forum.php",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.5.127:8080/upload/member.php?mod=register",
"Snapshot=t57.inf",
"Mode=HTML",
LAST);
return 0;
}
是不是脚本没有做好参数化设置 williamlam 发表于 2015-9-7 13:54
是不是脚本没有做好参数化设置
这个没有错的,但是不晓得什么原因,若是有cookie的话,第一次回放能成功,第二次就又报图片错误了,好奇怪。
页:
[1]