|
3#
楼主 |
发表于 2011-1-11 17:19:44
|
只看该作者
Action()
{
web_url("oa.szlanyou.com",
"URL=http://oa.szlanyou.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(3);
web_reg_save_param("code","LB=Name=","RB=Box2","search=Body",LAST);
web_submit_form("Default.aspx",
"Snapshot=t2.inf",
ITEMDATA,
"Name=T_userid", "Value=dongql", ENDITEM,
"Name=T_pwd", "Value=123456", ENDITEM,
"Name=TextBox2", "Value={code}", ENDITEM,
"Name=TextBox3", "Value=", ENDITEM,
"Name=tbVer", "Value=", ENDITEM,
"Name=Submit.x", "Value=35", ENDITEM,
"Name=Submit.y", "Value=5", ENDITEM,
LAST);
lr_output_message("校验码:",lr_eval_string("{code}"));
web_url("main.aspx",
"URL=http://oa.szlanyou.com/main.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=/webctrl_client/1_0/treeview.htc", "Referer=", ENDITEM,
"Url=/image/1.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/7.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/2.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/3.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/4.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/5.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/6.gif", "Referer=http://oa.szlanyou.com/left.aspx", ENDITEM,
"Url=/image/k1_02.gif", "Referer=http://oa.szlanyou.com/top.aspx", ENDITEM,
"Url=/image/k1_01.gif", "Referer=http://oa.szlanyou.com/top.aspx", ENDITEM,
"Url=/image/k1_03.gif", "Referer=http://oa.szlanyou.com/top.aspx", ENDITEM,
"Url=/image/k1_04.gif", "Referer=http://oa.szlanyou.com/top.aspx", ENDITEM,
"Url=/image/k1_05.gif", "Referer=http://oa.szlanyou.com/top.aspx", ENDITEM,
LAST);
return 0;
}
这是全部的代码了 |
|