设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย french

搜索
热搜: 活动 交友 discuz

有人要去刷落伍么。。。。 [复制链接]
查看:107 | 回复:13

14

主题

139

回帖

326

积分

中级会员

积分
326
发表于 2012-8-1 16:16:19 | 显示全部楼层 |阅读模式
上午有人说的那个洞洞现在还有。。。。一个线程一秒一帖没问题。。。一天就能刷上几十万。。。。

谁贡献个号我去玩玩。。。自己就剩一个。。不敢玩。。。

168

主题

628

回帖

1816

积分

金牌会员

积分
1816
发表于 2012-8-1 16:16:39 | 显示全部楼层
已经不行了,我都刷完了。

下午被小林加红后,鱼直接加过滤了。

14

主题

139

回帖

326

积分

中级会员

积分
326
 楼主| 发表于 2012-8-1 16:17:52 | 显示全部楼层
刚刚发这帖子的前几分钟我还试了下。。。有效。。。

168

主题

628

回帖

1816

积分

金牌会员

积分
1816
发表于 2012-8-1 16:20:11 | 显示全部楼层

风云主机 发表于 2012-8-1 16:17



刚刚发这帖子的前几分钟我还试了下。。。有效。。。

被审核了,不加分。

519

主题

3910

回帖

9485

积分

论坛元老

积分
9485
发表于 2012-8-1 16:17:00 | 显示全部楼层
真是蛋疼

14

主题

139

回帖

326

积分

中级会员

积分
326
 楼主| 发表于 2012-8-1 16:20:53 | 显示全部楼层

joyanhui 发表于 2012-8-1 16:20



被审核了,不加分。

不明真相。。我发了一个。。自动删除。。。分加上了。。没敢多发。。就一个

168

主题

628

回帖

1816

积分

金牌会员

积分
1816
发表于 2012-8-1 16:21:02 | 显示全部楼层

风云主机 发表于 2012-8-1 16:17



刚刚发这帖子的前几分钟我还试了下。。。有效。。。

重新测试了一下,依旧有效。。。。

刚刚看错马甲了

14

主题

139

回帖

326

积分

中级会员

积分
326
 楼主| 发表于 2012-8-1 16:20:00 | 显示全部楼层
重发下代码。。。有想刷的尽管去吧。。。[ol]
  • site = $site;
  •                 $this->cookiefile = '/tmp/cookie'.getmypid().'.txt';
  •                 $this->useragent = 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)';
  •                 $this->version = $version;
  •         }
  •         // 登录
  •         function login($username, $password){
  •                 switch($this->version){
  •                         case '72':
  •                                 $url_login = "http://".$this->site."/logging.php?action=login";
  •                                 $argv_login = array(
  •                                                 'action'=>'login',
  •                                                 'loginsubmit'=>'yes',
  •                                                 'username'=>$username,
  •                                                 'password'=>$password,
  •                                                 'cookietime'=>'2592000'
  •                                 );
  •                                 break;
  •                         case 'x20':
  •                                 $url_login = "http://".$this->site.
  •                                         "/member.php?mod=logging&action=login&loginsubmit=yes".
  •                                         "&infloat=yes&lssubmit=yes&inajax=1";
  •                                 $argv_login = array(
  •                                         'action'=>'login',
  •                                         'loginsubmit'=>'yes',
  •                                         'username'=>$username,
  •                                         'password'=>$password,
  •                                         'cookietime'=>'2592000'
  •                                 );
  •                                 break;
  •                 }
  •                 $ch_login = curl_init();
  •                 curl_setopt($ch_login, CURLOPT_URL, $url_login);
  •                 curl_setopt($ch_login, CURLOPT_RETURNTRANSFER, TRUE);
  •                 curl_setopt($ch_login, CURLOPT_POST, TRUE);
  •                 curl_setopt($ch_login, CURLOPT_POSTFIELDS, $argv_login);
  •                 curl_setopt($ch_login, CURLOPT_HEADER, TRUE);
  •                 curl_setopt($ch_login, CURLOPT_COOKIEJAR, $this->cookiefile);
  •                 curl_setopt($ch_login, CURLOPT_USERAGENT, $this->useragent);
  •                 $html_login = curl_exec($ch_login);
  •                 if(!strpos($html_login, 'errorhandle_')){
  •                         return TRUE;
  •                 }
  •         }
  •         // 获得formhash
  •         function getformhash($fid){
  •                 switch($this->version){
  •                         case '72':
  •                                 $url = "http://".$this->site."/post.php?action=newthread&fid={$fid}";
  •                                 break;
  •                         case 'x20':
  •                                 $url = "http://".$this->site."/forum.php?mod=post&action=reply&fid={$fid}";
  •                                 break;
  •                 }
  •                
  •                 $html_formhash = $this->get_html($url);
  •                 preg_match("/"formhash" value="(.*?)"/", $html_formhash, $array);
  •                 $formhash = $array[1];
  •                 return $formhash;
  •         }
  •         function get_html($url){
  •                 $ch = curl_init();
  •                 curl_setopt($ch, CURLOPT_URL, $url);
  •                 curl_setopt($ch, CURLOPT_HEADER, TRUE);
  •                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  •                 curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookiefile);
  •                 curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookiefile);
  •                 curl_setopt($ch, CURLOPT_USERAGENT, $this->useragent);
  •                 $html = curl_exec($ch);
  •                 return $html;
  •         }
  •         function post_subject($subject, $message, $fid, $typeid=NULL){
  •                 if(empty($this->formhash)){
  •                         $this->formhash = $this->getformhash($fid);
  •                 }
  •                 switch($this->version){
  •                         case '72':
  •                                 $url = "http://".$this->site."/post.php?action=newthread&fid={$fid}&extra=&topicsubmit=yes";
  •                                 $argv = array(
  •                                         'action'=>'newthread',
  •                                         'fid'=>$fid,
  •                                         'formhash'=>$this->formhash,
  •                                         'subject'=>$subject,
  •                                         'typeid'=>'1',
  •                                         'message'=>$message,
  •                                         'topicsubmit'=>'yes',
  •                                         'usesig'=>'1'
  •                                 );
  •                                 break;
  •                         case 'x20':
  •                                 $url = "http://".$this->site."/forum.php?mod=post&action=newthread&fid={$fid}&extra=&topicsubmit=yes";
  •                                 $argv = array(
  •                                         'formhash'=>$this->formhash,
  •                                         'message'=>$message,
  •                                         'subject'=>$subject,
  •                                         'fid'=>$fid,
  •                                         'replysubmit'=>'yes'
  •                                 );
  •                                 break;
  •                 }
  •                 isset($typeid) && $argv['typeid'] = $typeid;
  •                 $ch = curl_init();
  •                 curl_setopt($ch, CURLOPT_URL, $url);
  •                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  •                 curl_setopt($ch, CURLOPT_POST, TRUE);
  •                 curl_setopt($ch, CURLOPT_POSTFIELDS, $argv);
  •                 curl_setopt($ch, CURLOPT_HEADER, TRUE);
  •                 curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookiefile);
  •                 curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookiefile);
  •                 curl_setopt($ch, CURLOPT_USERAGENT, $this->useragent);
  •                 $html = curl_exec($ch);
  •                 switch($this->version){
  •                         case '72':
  •                                 preg_match("/location: viewthread.php\?tid=(\d+)/", $html, $preg_array);
  •                                 break;
  •                         case 'x20':
  •                                 preg_match("/window.location.href \='forum.php\?mod=viewthread&tid=(\d+)/", $html, $preg_array);
  •                                 break;
  •                 }
  •                 if(!empty($preg_array[1])){
  •                         return $preg_array[1];
  •                 }else{
  •                         return FALSE;
  •                 }
  •         }
  •          
  •         // 发回复
  •         function post_reply($message, $fid, $tid){
  •                 if(empty($this->formhash)){
  •                         $this->formhash = $this->getformhash($fid);
  •                 }
  •                 switch($this->version){
  •                         case '72':
  •                                 $url = "http://".$this->site."/post.php?action=reply&fid={$fid}&tid={$tid}";        
  •                                 $argv= array(
  •                                         'action'=>'reply',
  •                                         'fid'=>$fid,
  •                                         'tid'=>$tid,
  •                                         'formhash'=>$this->formhash,
  •                                         'message'=>$message,
  •                                         'replysubmit'=>'yes',
  •                                         'usesig'=>'1'
  •                                 );
  •                                 break;
  •                         case 'x20':
  •                                 $url = "http://".$this->site."/forum.php?mod=post&action=reply&fid={$fid}";
  •                                 $argv = array(
  •                                         'formhash'=>$this->formhash,
  •                                         'message'=>$message,
  •                                         'subject'=>'',
  •                                         'forum'=>'post',
  •                                         'action'=>'reply',
  •                                         'fid'=>$fid,
  •                                         'tid'=>$tid,
  •                                         'replysubmit'=>'yes'
  •                                 );
  •                                 break;
  •                 }
  •                 $ch = curl_init();
  •                 curl_setopt($ch, CURLOPT_URL, $url);
  •                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  •                 curl_setopt($ch, CURLOPT_POST, TRUE);
  •                 curl_setopt($ch, CURLOPT_POSTFIELDS, $argv);
  •                 curl_setopt($ch, CURLOPT_HEADER, TRUE);
  •                 curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookiefile);
  •                 curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookiefile);
  •                 curl_setopt($ch, CURLOPT_USERAGENT, $this->useragent);
  •                 $html = curl_exec($ch);
  •                 if(strpos($html, "tid={$tid}")){
  •                         return TRUE;
  •                 }else{
  •                         return FALSE;
  •                 }
  •         }
  •         function get_id($fids, $orderby='lastpost', $page=1){
  •                 $fid_key = array_rand($fids);
  •                 $fid = $fids[$fid_key];
  •                 switch($this->version){
  •                         case 'x20':
  •                                 $furl = "http://".$this->site."/forum.php?mod=forumdisplay&fid={$fid}&filter=author&orderby={$orderby}&page={$page}";
  •                                 break;
  •                         case '72':
  •                                 $furl = "http://".$this->site."/forumdisplay.php?fid={$fid}&orderby={$orderby}&page={$page}";
  •                                 break;
  •                 }
  •                 $html = $this->get_html($furl);
  •                 preg_match_all("/id="normalthread_(\d+)"/", $html, $preg_tid);
  •                 $tid_array = $preg_tid[1];
  •                 return array($fid, $tid_array[0]);
  •         }
  • }
  • [/ol]复制代码
  • 311

    主题

    3336

    回帖

    7635

    积分

    论坛元老

    积分
    7635
    发表于 2012-8-1 16:21:22 | 显示全部楼层


    0

    主题

    1

    回帖

    4

    积分

    新手上路

    积分
    4
    发表于 2012-8-1 16:17:00 | 显示全部楼层
    额/刷这个有什么意思啊...没意思     
    您需要登录后才可以回帖 登录 | 立即注册

    论坛客服/商务合作/投诉举报:2171544 (QQ)
    落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
    拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
    落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
    © 2001-2014

    浙公网安备 33060302000191号

    浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

      落伍法律顾问: ITlaw-庄毅雄

    Archiver|手机版|Discuz! X

    GMT+8, 2026-6-15 17:35 , Processed in 0.016265 second(s), 3 queries , Gzip On, Redis On.

    返回顶部