|
5#
楼主 |
发表于 2007-11-20 16:05:56
|
只看该作者
回复 4# 的帖子你帮我分析下,看是否成功了啊
下面是我录制的脚本
Action()
{
web_url("172.16.0.1:5280",
"URL=http://172.16.0.1:5280/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
lr_think_time(6);
web_url("login.cgi",
"URL=http://172.16.0.1:7755/login.cgi?mode=login&pass=123456&gateway=172.16.0.1:5280&timeout=86400&user=liuyuting&token=AhweAAAAAAAz&mac=00:191:40:6A:3E&uip=172.16.0.61",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_submit_data("login.cgi_2",
"Action=http://172.16.0.1:7755/login.cgi",
"Method=POST",
"RecContentType=text/html",
"Referer=http://172.16.0.1:7755/login.cgi?redirect=http%3A%2F%2F172%2E16%2E0%2E1%3A5280&mac=00%3A19%3AD1%3A40%3A6A%3A3E&uip=172%2E16%2E0%2E61&timeout=86400&gateway=172%2E16%2E0%2E1%3A5280&token=AhweAAAAAAAz",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=user", "Value={NewParam_4}", ENDITEM,
"Name=pass", "Value={NewParam_5}", ENDITEM,
"Name=mac", "Value=00:191:40:6A:3E", ENDITEM,
"Name=uip", "Value=172.16.0.61", ENDITEM,
"Name=token", "Value=AhweAAAAAAAz", ENDITEM,
"Name=redirect", "Value=http://172.16.0.1:5280", ENDITEM,
"Name=gateway", "Value=172.16.0.1:5280", ENDITEM,
"Name=timeout", "Value=86400", ENDITEM,
"Name=goal", "Value=home", ENDITEM,
"Name=mode", "Value=login", ENDITEM,
LAST);
web_url("172.16.0.1:5280_2",
"URL=http://172.16.0.1:5280/?ticket=cf48rcK3dV+UzB09Qz9u+8BRbQMainnLOgQNXMhLn21unMR7ON+9BweRgctgcleHAb+gdZiGQWoCcTqWrsaQRB2S1E+KoLCbfMsGbxV5EgFNx2NaP5X7bD/FIx9pq8ZDlGOvUnydZXuHIFIbnwU68Brn1Wk2o32dGEQQ6pkBqqV1OtVG5RlQ34CKqEE2PgLjMFWQmnOM/vzI9JZY3TW2bA==",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
return 0;
} |
|