コード例 #1
0
 $lidun = GjieB($liuser, '@@', 0);
 if ($lidun == "" or $lidomain == "") {
     $tmod = 'BUError';
     $btsuerrormsg = 'EMPTY!BTS Connect Error!(Veson BTSU 1.0)';
     include 'intem.php';
     exit;
 }
 $IfCanC = IFRTSet($lidun, $lidomain);
 if ($IfCanC['in'] != '1') {
     $tmod = 'BUError';
     $btsuerrormsg = 'ERROR!该用户名被禁止登入或处于停用状态!';
     include 'intem.php';
     exit;
 }
 unset($IfCanC);
 if (IsWBlack($lidomain, 2, 1)) {
     $tmod = 'BUError';
     $btsuerrormsg = 'ERROR!该应用地址被禁止登入或处于停用状态!';
     include 'intem.php';
     exit;
 }
 $Acurl = 'http://' . $lidomain . '/btsuser/map/';
 $Uaddress = BCurlKey($Acurl);
 $Uaddressx = json_decode($Uaddress);
 $maperror = 's';
 if (!isset($Uaddressx->dourl)) {
     $btsuerrormsg = 'ERROR!读取目标网站的MAP信息错误!';
     $maperror = 'e';
 } else {
     $dourl = $Uaddressx->dourl;
 }
コード例 #2
0
     WUyzm(1, $Ibh, $Uyzma, $Udm);
     WUyzm(2, $Ibh, $Uyzmb, $Udm);
     WUyzm(3, $Ibh, $Uyzmc, $Udm);
     WUyzm(4, $Ibh, $Uyzmd, $Udm);
     echo 'BTSuser:'******':BTsuserover';
     break;
 case "1":
     $Ubh = $_GET["bh"];
     $Udm = $_GET["dm"];
     $Uyzma = $_GET["yzma"];
     $Uyzmb = $_GET["yzmb"];
     $Uyzmc = $_GET["yzmc"];
     $Uyzmd = $_GET["yzmd"];
     $Uuser = $_GET["user"];
     $Ukla = intval($_GET["kla"]);
     if (IsWBlack($Udm, 1, 1)) {
         exit('Forbid!(Veson BTSnowBall_User 1.0');
     }
     $Dcurl = 'http://' . $Udm . '/btsuser/map/';
     $Uaddress = BCurlKey($Dcurl);
     $Uaddressx = json_decode($Uaddress);
     $maperror = 's';
     if (!isset($Uaddressx->dourl)) {
         $btsuerrormsg = 'ERROR!读取目标网站的MAP信息错误!';
         $maperror = 'e';
     } else {
         $dourl = $Uaddressx->dourl;
     }
     if ($maperror == 'e') {
         $tmod = 'BUError';
         include 'intem.php';
コード例 #3
0
ファイル: zcrun.php プロジェクト: BTSnowball/BTSnowball_users
             continue;
         }
         $wdomain = $wbaddmsg[1];
         if ($wdomain == "") {
             continue;
         }
         $wzt = $wbaddmsg[2];
         if ($wzt == "") {
             continue;
         }
         $from = $wbaddmsg[3];
         if ($from == "") {
             $from = '3';
         }
         $text = $wbaddmsg[4];
         if (!IsWBlack($wdomain, $from)) {
             NewWBlack($wname, $wdomain, '4', $wzt, $from, $text, $zcid, 1);
         }
     }
 } while ($nwpage <= $wpage);
 echo '<br />' . '应用黑名单引导完成!100%...<br />正在索引地址黑名单引导...wait..' . '<br />';
 $Wapiurl = 'http://' . $apiurl . '?setp=1&msg=eblack&tag=' . $tag;
 $datemsg = BCurlKey($Wapiurl);
 $dateobj = json_decode($datemsg);
 if (!isset($dateobj->num)) {
     echo 'BTSnowBall站云返回数据异常,可能是该站云正在整理数据\\暂停服务\\服务器过忙。请择时重试。';
     exit;
 }
 echo '该云总计提供地址黑名单数量为:' . $dateobj->num . ';分' . $dateobj->page . '组提供;版本为' . $dateobj->ves;
 $wpage = intval($dateobj->page);
 $nwpage = 1;