那啥?云函数?我有一快过期学生鸡像利用下。
福建网友:loc签到还有积分?从来没发现在哪签到呢
天津网友:自己搜一下呗
北京网友:大佬签名不是随便点么
青海网友:https://sunpma.com/loc/loc.php
宁夏网友:/thread-533656-1-1.html
香港网友:手动老忘记要个自动
福建网友:我都是看他们的皮鼓,每天看见了就摸一下!
四川网友:大佬这个怎么用?明天点开刷新一下就行了?
安徽网友:可以点签名;也可以论坛搜签到脚本
浙江网友:可以点签名;也可以论坛搜签到脚本
澳门网友:https://qiandao.today/tpls/public
湖北网友:我之前就是用的这个后来老忘记点一下
安徽网友:https://hunter.gitlab.io/tools//
这个也是大佬的吧?
甘肃网友:每天点开就行了
河南网友:
不记得哪位大佬的,PHP加个配合宝塔定时任务就行了
- <?php
- $cookie_name = $cookie_val = ”;
- $lines = file(dirname(__FILE__).’/id.txt’);
- foreach($lines as $line){
- list($username, $password) = explode(‘#’, $line);
- $username = trim($username);
- $password = trim($password);
- if(empty($username) || empty($password)){
- continue;
- }
- $suburl = "/member.php?mod=logging&action=login";
- $loginInfo = array(
- "username" => $username,
- "password" => $password,
- "fastloginfield" => "username",
- "quickforward" => "yes",
- "handlekey" => "ls",
- "loginsubmit" => true
- );
- echo "login($username) … ";
- $login = curl_post($suburl,$loginInfo);
- if(strpos($login, $username) !== FALSE){
- preg_match("/>用户组: (.*?)<\/a>/", $login, $preg);
- $group = $preg[1];
- echo "Success!($group)\n";
- }else{
- echo "Failed!\n\n";
- continue;
- }
- extract(get_jf());
- echo "Credit: $credit; Money: $money\n";
- echo "Visting user space ";
- for($i=0;$i<20;$i++){
- $uid = rand(0,30000);
- curl_get($spaceUrl = "/space-uid-{$uid}.html");
- echo ".";
- }
- echo " done!\n";
- extract(get_jf());
- echo "Credit: $credit; Money: $money\n\n";
- }
- function get_jf(){
- $data = array();
- $html = curl_get(‘/home.php?mod=spacecp&ac=credit&op=base’);
- preg_match("/积分: (\d+)<\/a>/", $html, $preg);
- if(!empty($preg[1])){
- $data[‘credit’] = $preg[1];
- }else{
- $data[‘credit’] = 0;
- }
- preg_match("/金钱: <\/em>(\d+)/", $html, $preg);
- if(!empty($preg[1])){
- $data[‘money’] = $preg[1];
- }else{
- $data[‘money’] = 0;
- }
- return $data;
- }
- function curl_post($url, $post_data){
- global $cookie_name, $cookie_val;
- while(true){
- $res = do_curl_post($url, $post_data);
- preg_match("/cookie="(\w*?)\=(\w*)/", $res, $preg_cookie);
- preg_match("/href="(.*?)"/", $res, $preg_url);
- if(!empty($preg_cookie[1])){
- $cookie_name = $preg_cookie[1];
- $cookie_val = $preg_cookie[2];
- $res = do_curl_post($preg_url[1], $post_data);
- }else{
- break;
- }
- sleep(1);
- }
- return $res;
- }
- function do_curl_post($url, $post_data){
- global $cookie_name, $cookie_val;
- $ch = curl_init ();
- curl_setopt($ch, CURLOPT_POST , 1);
- curl_setopt($ch, CURLOPT_HEADER , 0);
- curl_setopt($ch, CURLOPT_URL , $url);
- curl_setopt($ch, CURLOPT_COOKIEJAR , ‘/tmp/hostloc.cookie’);
- //curl_setopt($ch, CURLOPT_HTTPHEADER, array(‘X-FORWARDED-FOR:’.rand_ip()));
- curl_setopt($ch, CURLOPT_USERAGENT, ‘Mozilla/5.0 (compatible;Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)’);
- curl_setopt($ch, CURLOPT_POSTFIELDS , $post_data);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT,600);
- curl_setopt($ch, CURLOPT_REFERER, ‘/’);
- if(!empty($cookie_name)){
- curl_setopt($ch, CURLOPT_COOKIE, "$cookie_name=$cookie_val;");
- }
- $result = curl_exec($ch);
- curl_close($ch);
- return $result;
- }
- function curl_get($url){
- global $cookie_name, $cookie_val;
- $ch = curl_init ();
- curl_setopt($ch, CURLOPT_HEADER , 0);
- curl_setopt($ch, CURLOPT_URL , $url);
- curl_setopt($ch, CURLOPT_COOKIEFILE, ‘/tmp/hostloc.cookie’);
- //curl_setopt($ch, CURLOPT_HTTPHEADER, array(‘X-FORWARDED-FOR:’.rand_ip()));
- curl_setopt($ch, CURLOPT_USERAGENT, ‘Mozilla/5.0 (compatible;Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)’);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT,600);
- if(!empty($cookie_name)){
- curl_setopt($ch, CURLOPT_COOKIE, "$cookie_name=$cookie_val;");
- }
- $result = curl_exec($ch);
- curl_close($ch);
- return $result;
- }
- function rand_ip(){
- return rand(1,255).’.’.rand(1,255).’.’.rand(1,255).’.’.rand(1,255);
- }
复制代码
江苏网友:懂得不多升级又太快我都不好意思上神仙
澳门网友:不要怂,人家喊你大佬 你应下就行
北京网友:我叫你一声你敢答应吗?
山西网友:看大家的签名
安徽网友:看大家的签名
海南网友:loc.dn.tn 来吧,每天打开一次就满了
陕西网友:https://github.com/qkqpttgf/hostloccredit
以前为了上元老写的,特别针对LOC的js-cookie,不过当时是L7FW,现在要去91行把["L7FW"]改成["L7FDW"]才好用。
海南网友:mark
四川网友:就想问问在哪签到。。。。。。。。。
山东网友:https://github.com/iddddg/hostloc
西藏网友:啊,loc还能签到呀