LR 一个用户循环自动回复所有帖子

Action()
{
 int i,num;

 char temp[255];

 web_add_cookie(".ASPXANONYMOUS=-jjWcenUzgEkAAAAMTE3NzYxN2MtNzY2Yi00Y2U1LThiOTItZDYxNGJhM2ZiMmQzIetOgI48p78VlNnkq-Qh8xla2-nhIkhTfwCTothhyFQ1; DOMAIN=192.168.0.128");

 web_add_cookie("LOGINASPX=OrganizationNumber=01&LoginName=admin&Language=1; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_lastpos=other; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_ol_offset=98; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_ipstate=1377739343; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_threadlog=%2C2%2C; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_jobpop=1; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_readlog=%2C1%2C2%2C; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_AdminUser=A1UCDlVSBQ4BUD8FBgtbDDkMA1JTAFMADQ9QAAFRBlUCWwgCV1cAXFpTVgFQU1QHU28; DOMAIN=192.168.0.128");

 web_add_cookie("lzstat_uv=30555374512115323053|931085; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_ck_info=%2F%09; DOMAIN=192.168.0.128");

 web_add_cookie("3dd59_lastvisit=72%091377770555%09%2Fphpwind%2Fupload%2Fuserpay.php; DOMAIN=192.168.0.128");

 web_add_cookie("65879_lastpos=index; DOMAIN=192.168.0.128");

 web_add_cookie("65879_ol_offset=98; DOMAIN=192.168.0.128");

 web_add_cookie("65879_ipstate=1378172033; DOMAIN=192.168.0.128");

 web_add_cookie("65879_jobpop=0; DOMAIN=192.168.0.128");

 web_add_cookie("65879_threadlog=%2C2%2C; DOMAIN=192.168.0.128");

 web_add_cookie("65879_readlog=%2C1%2C; DOMAIN=192.168.0.128");

 web_add_cookie("65879_lastvisit=5109%091378184959%09%2Fphpwidndupload%2Findex.php; DOMAIN=192.168.0.128");

 web_add_cookie("65879_AdminUser=V1IPCQMGVAMEBTpVVVtfD20BA1FdAVNTUw1QUAQFCAdTBFIEVVEMVQYEU1cGAFJRAj8; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_lastpos=F2; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_ol_offset=98; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_ipstate=1378687278; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_jobpop=0; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_threadlog=%2C2%2C; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_readlog=%2C1%2C2%2C3%2C4%2C9%2C10%2C13%2C17%2C; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_AdminUser=CQcPXlVXXAIDVTEAV18PXztTDQJcXlYHVwBVUwpQUAdWBwIFWVINUFFSAAEOAF5WUjs; DOMAIN=192.168.0.128");

 web_add_cookie("1ccac_lastvisit=3674%091378692135%09%2Fphpwind01%2Fupload%2Fthread.php%3Ffid2; DOMAIN=192.168.0.128");

 web_url("index.php",
  "URL=http://192.168.0.128:8090/phpwind01/upload/index.php",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  EXTRARES,
  "URL=js/lang/zh_cn.js", ENDITEM,
  "URL=images/wind85/topbar.png", ENDITEM,
  "URL=images/button.png", ENDITEM,
  "URL=images/wind85/down.png", ENDITEM,
  "URL=images/wind85/navA.png", ENDITEM,
  "URL=images/wind85/searchA.png", ENDITEM,
  "URL=images/wind85/hB.png", ENDITEM,
  "URL=images/wind85/h.png", ENDITEM,
  "URL=images/wind85/search_btn.png", ENDITEM,
  "URL=images/wind85/old.gif", ENDITEM,
  "URL=images/wind85/colon.png", ENDITEM,
  "URL=images/select_arrow.gif", ENDITEM,
  "URL=images/wind85/bg.jpg", ENDITEM,
  "URL=images/wind8black/preview.jpg", ENDITEM,
  "URL=images/wind8purple/preview.jpg", ENDITEM,
  "URL=images/wind/preview.jpg", ENDITEM,
  "URL=images/wind8green/preview.jpg", ENDITEM,
  "URL=images/wind8gray/preview.jpg", ENDITEM,
  "URL=images/del.png", ENDITEM,
  "URL=images/register/regright.png", ENDITEM,
  "URL=images/wind85/preview.jpg", ENDITEM,
  "URL=images/pwicon/top.png", ENDITEM,
  LAST);

 lr_think_time(18);

 web_submit_data("login.php",
  "Action=http://192.168.0.128:8090/phpwind01/upload/login.php",
  "Method=POST",
  "TargetFrame=",
  "RecContentType=text/html",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php",
  "Snapshot=t2.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=jumpurl", "Value=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "Name=step", "Value=2", ENDITEM,
  "Name=pwuser", "Value=kibon00072", ENDITEM,
  "Name=pwpwd", "Value=kibonp00072", ENDITEM,
  "Name=head_login", "Value=", ENDITEM,
  "Name=lgt", "Value=0", ENDITEM,
  EXTRARES,
  "URL=images/register/regright2.png", ENDITEM,
  "URL=images/g/facebg_a.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "URL=images/down.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "URL=images/job/doupdatedata.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "URL=images/job/doupdateavatar.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "URL=images/job/dosendmessage.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "URL=images/job/doaddfriend.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  "URL=images/job/menu_tasksA.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php", ENDITEM,
  LAST);

 web_url("pw_ajax.php",
  "URL=http://192.168.0.128:8090/phpwind01/upload/pw_ajax.php?action=jobpop&nowtime=1378693055390&verify=e1598acf",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=text/xml",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php",
  "Snapshot=t3.inf",
  "Mode=HTML",
  LAST);

 lr_think_time(28);

 web_submit_data("pw_ajax.php_2",
  "Action=http://192.168.0.128:8090/phpwind01/upload/pw_ajax.php?action=jobpop&nowtime=1378693083296&verify=e1598acf",
  "Method=POST",
  "TargetFrame=",
  "RecContentType=text/html",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php",
  "Mode=HTML",
  ITEMDATA,
  "Name=job", "Value=cookie", ENDITEM,
  "Name=v", "Value=1", ENDITEM,
  LAST);

 web_reg_save_param_ex(
  "ParamName=tid",
  "LB=tid=",
  "RB=\" name=",
  "Ordinal=all",
  SEARCH_FILTERS,
  LAST);

 web_url("thread.php",
  "URL=http://192.168.0.128:8090/phpwind01/upload/thread.php?fid=2",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/index.php",
  "Snapshot=t4.inf",
  "Mode=HTML",
  EXTRARES,
  "URL=images/wind85/breadEm.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/thread.php?fid=2", ENDITEM,
  "URL=images/wind85/thread/sideicon.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/thread.php?fid=2", ENDITEM,
  "URL=images/wind85/post.png?101129", "Referer=http://192.168.0.128:8090/phpwind01/upload/thread.php?fid=2", ENDITEM,
  LAST);

    num=atoi(lr_eval_string("{tid_count}"));
 //lr_save_string(lr_paramarr_random("tid"),"outtid");
 for(i=0;i<=num;i++)

 {


  sprintf(temp,"{tid_%d}",i);
  lr_save_string(lr_eval_string(temp),"outtid");


 web_url("dddddddddddddddddddddddd",
  "URL=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9",
  "TargetFrame=_blank",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/thread.php?fid=2",
  "Snapshot=t5.inf",
  "Mode=HTML",
  EXTRARES,
  "URL=images/bbsradio.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/wind85/reply.png?101129", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/pwicon/add_mes.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/pwicon/add_home.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/pwicon/add_fri.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/pwicon/add_pro.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/wind85/read/yin.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/pwicon/add_fol.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/wind85/read/userOper.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/pwicon/shareAll.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/editor/style/B_ico.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/6.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/8.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/5.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/4.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/3.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/12.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/7.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/10.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/11.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/13.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/9.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/14.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/fp_editor_bg.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/2.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/post/smile/default/1.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/core/base.js", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/core/native.js?v=1.0", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/editor/editor.js?v=1.0", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/core/dom.js?v=1.0", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/core/event.js?v=1.0", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/editor/ubb.js?v=1.0", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/search/pImg.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=u/images/pre.cur", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/blank.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/search/pImg_close.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=u/images/next.cur", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=js/breeze/util/localStorage.js?v=1.0", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  LAST);

 

 
 web_submit_data("post.php",
  "Action=http://192.168.0.128:8090/phpwind01/upload/post.php?fid=2&nowtime=1378693108390&verify=e1598acf",
  "Method=POST",
  "EncType=multipart/form-data",
  "TargetFrame=",
  "RecContentType=text/xml",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9",
  "Snapshot=t6.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=atc_usesign", "Value=1", ENDITEM,
  "Name=replytouser", "Value=", ENDITEM,
  "Name=atc_convert", "Value=1", ENDITEM,
  "Name=atc_autourl", "Value=1", ENDITEM,
  "Name=step", "Value=2", ENDITEM,
  "Name=type", "Value=ajax_addfloor", ENDITEM,
  "Name=action", "Value=reply", ENDITEM,
  "Name=fid", "Value=2", ENDITEM,
  "Name=cyid", "Value=", ENDITEM,
  "Name=tid", "Value={outtid}", ENDITEM,
  "Name=stylepath", "Value=wind85", ENDITEM,
  "Name=ajax", "Value=1", ENDITEM,
  "Name=verify", "Value=e1598acf", ENDITEM,
  "Name=_hexie", "Value=96400f2f", ENDITEM,
  "Name=iscontinue", "Value=0", ENDITEM,
  "Name=atc_title", "Value=Re:dddddddddddddddddddddddd", ENDITEM,
  "Name=atc_content", "Value=我来回帖,哈哈哈哈[s:8] ", ENDITEM,
  EXTRARES,
  "URL=images/online.png", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  "URL=images/wind85/level/1.gif", "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9", ENDITEM,
  LAST);
 }

 lr_think_time(9);

 web_url("login.php_2",
  "URL=http://192.168.0.128:8090/phpwind01/upload/login.php?action=quit&verify=583c1a20",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://192.168.0.128:8090/phpwind01/upload/read.php?tid=9",
  "Snapshot=t7.inf",
  "Mode=HTML",
  LAST);

return 0;
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值