那啥?云函数?我有一快过期学生鸡像利用下。
福建网友:loc签到还有积分?从来没发现在哪签到呢
天津网友:自己搜一下呗
北京网友:大佬签名不是随便点么
青海网友:https://sunpma.com/loc/loc.php
宁夏网友:/thread-533656-1-1.html
香港网友:手动老忘记要个自动
福建网友:我都是看他们的皮鼓,每天看见了就摸一下!
四川网友:大佬这个怎么用?明天点开刷新一下就行了?
安徽网友:可以点签名;也可以论坛搜签到脚本
浙江网友:可以点签名;也可以论坛搜签到脚本
澳门网友:https://qiandao.today/tpls/public
湖北网友:我之前就是用的这个后来老忘记点一下
安徽网友:https://hunter.gitlab.io/tools//

这个也是大佬的吧?
甘肃网友:每天点开就行了
河南网友:
不记得哪位大佬的,PHP加个配合宝塔定时任务就行了

  1. <?php
  2. $cookie_name = $cookie_val = ”;
  3. $lines = file(dirname(__FILE__).’/id.txt’);
  4. foreach($lines as $line){
  5.     list($username, $password) = explode(‘#’, $line);
  6.     $username = trim($username);
  7.     $password = trim($password);
  8.     if(empty($username) || empty($password)){
  9.         continue;
  10.     }
  11.     $suburl = "/member.php?mod=logging&action=login";
  12.     $loginInfo = array(
  13.             "username" => $username,
  14.             "password" => $password,
  15.             "fastloginfield" => "username",
  16.             "quickforward" => "yes",
  17.             "handlekey" => "ls",
  18.             "loginsubmit" => true
  19.     );
  20.     echo "login($username) … ";
  21.     $login = curl_post($suburl,$loginInfo);
  22.     if(strpos($login, $username) !== FALSE){
  23.         preg_match("/>用户组: (.*?)<\/a>/", $login, $preg);
  24.         $group = $preg[1];
  25.         echo "Success!($group)\n";
  26.     }else{
  27.         echo "Failed!\n\n";
  28.         continue;
  29.     }
  30.     extract(get_jf());
  31.     echo "Credit: $credit; Money: $money\n";
  32.     echo "Visting user space ";
  33.     for($i=0;$i<20;$i++){
  34.         $uid = rand(0,30000);
  35.         curl_get($spaceUrl = "/space-uid-{$uid}.html");
  36.         echo ".";
  37.     }
  38.     echo " done!\n";
  39.     extract(get_jf());
  40.     echo "Credit: $credit; Money: $money\n\n";
  41. }
  42. function get_jf(){
  43.     $data = array();
  44.     $html = curl_get(‘/home.php?mod=spacecp&ac=credit&op=base’);
  45.     preg_match("/积分: (\d+)<\/a>/", $html, $preg);
  46.     if(!empty($preg[1])){
  47.         $data[‘credit’] = $preg[1];
  48.     }else{
  49.         $data[‘credit’] = 0;
  50.     }
  51.     preg_match("/金钱: <\/em>(\d+)/", $html, $preg);
  52.     if(!empty($preg[1])){
  53.         $data[‘money’] = $preg[1];
  54.     }else{
  55.         $data[‘money’] = 0;
  56.     }
  57.     return $data;
  58. }
  59. function curl_post($url, $post_data){
  60.     global $cookie_name, $cookie_val;
  61.     while(true){
  62.         $res = do_curl_post($url, $post_data);
  63.         preg_match("/cookie="(\w*?)\=(\w*)/", $res, $preg_cookie);
  64.         preg_match("/href="(.*?)"/", $res, $preg_url);
  65.         if(!empty($preg_cookie[1])){
  66.             $cookie_name = $preg_cookie[1];
  67.             $cookie_val = $preg_cookie[2];
  68.             $res = do_curl_post($preg_url[1], $post_data);
  69.         }else{
  70.             break;
  71.         }
  72.         sleep(1);
  73.     }
  74.     return $res;
  75. }
  76. function do_curl_post($url, $post_data){
  77.     global $cookie_name, $cookie_val;
  78.     $ch = curl_init ();
  79.     curl_setopt($ch, CURLOPT_POST , 1);
  80.     curl_setopt($ch, CURLOPT_HEADER , 0);
  81.     curl_setopt($ch, CURLOPT_URL , $url);
  82.     curl_setopt($ch, CURLOPT_COOKIEJAR , ‘/tmp/hostloc.cookie’);
  83.     //curl_setopt($ch, CURLOPT_HTTPHEADER, array(‘X-FORWARDED-FOR:’.rand_ip()));
  84.     curl_setopt($ch, CURLOPT_USERAGENT, ‘Mozilla/5.0 (compatible;Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)’);
  85.     curl_setopt($ch, CURLOPT_POSTFIELDS , $post_data);
  86.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  87.     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
  88.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  89.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  90.     curl_setopt($ch, CURLOPT_TIMEOUT,600);
  91.     curl_setopt($ch, CURLOPT_REFERER, ‘/’);
  92.     if(!empty($cookie_name)){
  93.         curl_setopt($ch, CURLOPT_COOKIE, "$cookie_name=$cookie_val;");
  94.     }
  95.     $result = curl_exec($ch);
  96.     curl_close($ch);
  97.     return $result;
  98. }
  99. function curl_get($url){
  100.     global $cookie_name, $cookie_val;
  101.     $ch = curl_init ();
  102.     curl_setopt($ch, CURLOPT_HEADER , 0);
  103.     curl_setopt($ch, CURLOPT_URL , $url);
  104.     curl_setopt($ch, CURLOPT_COOKIEFILE, ‘/tmp/hostloc.cookie’);
  105.     //curl_setopt($ch, CURLOPT_HTTPHEADER, array(‘X-FORWARDED-FOR:’.rand_ip()));
  106.     curl_setopt($ch, CURLOPT_USERAGENT, ‘Mozilla/5.0 (compatible;Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)’);
  107.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  108.     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
  109.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  110.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  111.     curl_setopt($ch, CURLOPT_TIMEOUT,600);
  112.     if(!empty($cookie_name)){
  113.         curl_setopt($ch, CURLOPT_COOKIE, "$cookie_name=$cookie_val;");
  114.     }
  115.     $result = curl_exec($ch);
  116.     curl_close($ch);
  117.     return $result;
  118. }
  119. function rand_ip(){
  120.     return rand(1,255).’.’.rand(1,255).’.’.rand(1,255).’.’.rand(1,255);
  121. }

复制代码

江苏网友:懂得不多升级又太快我都不好意思上神仙
澳门网友:不要怂,人家喊你大佬 你应下就行
北京网友:我叫你一声你敢答应吗?
山西网友:看大家的签名
安徽网友:看大家的签名
海南网友:loc.dn.tn 来吧,每天打开一次就满了
陕西网友:https://github.com/qkqpttgf/hostloccredit
以前为了上元老写的,特别针对LOC的js-cookie,不过当时是L7FW,现在要去91行把["L7FW"]改成["L7FDW"]才好用。
海南网友:mark
四川网友:就想问问在哪签到。。。。。。。。。
山东网友:https://github.com/iddddg/hostloc
西藏网友:啊,loc还能签到呀

01-11 09:46