请帮忙分析一下这个脚本回放时会不成功,大家看看该怎么改?
Action(){
web_set_user("qwer",
lr_decrypt("51ef4ba5a1e96d8a"),
"10.10.40.44:80");
web_url("10.10.40.44",
"URL=http://10.10.40.44/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(9);
web_url("status.cgi",
"URL=http://10.10.40.44/cgi-bin/status.cgi",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
web_link("Tuner",
"Text=Tuner",
"Snapshot=t3.inf",
LAST);
lr_think_time(4);
web_submit_form("input.cgi",
"Snapshot=t4.inf",
ITEMDATA,
"Name=LnbFreq", "Value=5750", ENDITEM,
"Name=SateFreq", "Value=3951", ENDITEM,
"Name=SateSr", "Value=9520", ENDITEM,
"Name=lnbVol", "Value=18V", ENDITEM,
"Name=lnb22k", "Value=ON", ENDITEM,
"Name=diseqcport", "Value=OFF", ENDITEM,
"Name=GoldCode", "Value=0", ENDITEM,
"Name=FreqOffset1", "Value=5000", ENDITEM,
"Name=FreqOffset2", "Value=-5000", ENDITEM,
"Name=apply", "Value=Apply", ENDITEM,
LAST);
return 0;
} 提示这个错误:Action.c(19): Error -26630: HTTP Status-Code=401 (Unauthorized) for "http://10.10.40.44/cgi-bin/status.cgi"
Action.c(19): web_url("status.cgi") highest severity level was "ERROR", 368 body bytes, 408 header bytes 错误提示很明显啊,10.10.40.44这个网站未授权
页:
[1]