脚本:
web_submit_data("index.php_2",
"Action=http://localhost/bbs/index.php?m=u&c=login&a=dologin",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost/bbs/",
"Snapshot=t21.inf",
"Mode=HTTP",
ITEMDATA,
"Name=username", "Value={NewParam_1}", ENDITEM,//参数化1
"Name=password", "Value={NewParam_2}", ENDITEM,//参数化2
"Name=csrf_token", "Value={CorrelationParameter_1}", ENDITEM,//自动关联
LAST);
web_url("index.php_3",
"URL=http://localhost/bbs/index.php?m=u&c=login&a=welcome&_statu=U9JS3FmMGlxJTJGWHZFbDZsajR0Q00lMkZhQ0NUWFlLV1ElMkJMRDU3TmJub1FLV3V4Vk1FN3drMm5sOVNZRHNCa01DJTJGRW16a3h3JTNEJTNEfGh0dHA6Ly9sb2NhbGhvc3QvYmJzLw",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t22.inf",
"Mode=HTTP",
LAST);
CodeGenerationLog.txt的通讯日志中
$$$$$$ Response Header For Transaction With Id 50 Ended $$$$$$
****** Response Body For Transaction With Id 50 ******
{"referer":"http:\/\/localhost\/bbs\/index.php?m=u&c=login&a=welcome&_statu=dU9JS3FmMGlxJTJGWHZFbDZsajR0Q00lMkZhQ0NUWFlLV1ElMkJMRDU3TmJub1FLV3V4Vk1FN3drMm5sOVNZRHNCa01DJTJGRW16a3h3JTNEJTNEfGh0dHA6Ly9sb2NhbGhvc3QvYmJzLw","refresh":false,"state":"success","data":"","message":{"check":{"url":null},"0":"\u6b22\u8fce\u56de\u6765..."},"__error":""}
$$$$$$ Response Body For Transaction With Id 50 Ended $$$$$$
我在web_url("index.php_3",。。。。前面,添加了手动关联函数如下
web_reg_save_param_ex(
"ParamName=session",
"LB=m=u&c=login&a=welcome&_statu=",
"RB=\",\"refresh\":",
SEARCH_FILTERS,
"Scope=Body",
LAST);
web_set_max_html_param_len("999999");
把dU9JS3FmMGlxJTJGWHZFbDZsajR0Q00lMkZhQ0NUWFlLV1ElMkJMRDU3TmJub1FLV3V4Vk1FN3drMm5sOVNZRHNCa01DJTJGRW16a3h3JTNEJTNEfGh0dHA6Ly9sb2NhbGhvc3QvYmJzLw,更改为参数session了
但是最后还是出现Error -26377 999999的错误,请教高手哪有问题,谢谢