MPOG is auto unbanning accounts

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Re: MPOG is auto unbanning accounts

    Yes, in my Db has AccountBan.dbo.

    I put this fixed script, but I need the Antisql function.

    Code:
    Fatal error: Call to undefined function antisql() in C:\AppServ\www\gunz\banneduser.php on line 6
    ------
    Edit
    ------

    I got antisql function and I thinks its working.

    And, how can I fix this error?

    It's on page top.

    Code:
    Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Sao_Paulo' for '-3.0/no DST' instead in C:\AppServ\www\gunz\banneduser.php on line 8

  2. #17
    Valued Member Pauliinho is offline
    MemberRank
    Apr 2009 Join Date
    140Posts

    Re: MPOG is auto unbanning accounts

    PHP Code:
    <?php
    //This file has been edited by Wizkid. All rights reserved.
    //Fixed 2 exploits in this.
    //Once again, a SESSION can be spoofed.
    if($_SESSION['UGradeID'] == 253){
        
    $res mssql_query("SELECT * FROM AccountBan WHERE AID = '" antisql($_SESSION['AID']) . "' AND Opened = '1'");
        
    $data mssql_fetch_assoc($res);
        
    $hoy date("dmY");
        if(
    $hoy >= $data['BanFinish']){
            
    //We remove the ban if it has expired
            
    mssql_query("UPDATE Account SET UGradeID = '0' WHERE AID = '" antisql($_SESSION['AID']) . "'");
            
    mssql_query("UPDATE AccountBan SET Opened = '0' WHERE ABID = '".$data['ABID']."'");
            
    $_SESSION['UGradeID'] = 0;
            
    //Redirect to the index
            
    re_dir("index.php");
        }
    TO

    PHP Code:
    <?php
    //This file has been edited by Wizkid. All rights reserved.
    //Fixed 2 exploits in this.
    //Once again, a SESSION can be spoofed.
    if($_SESSION['UGradeID'] == 253){
        
    $res mssql_query("SELECT * FROM AccountBan WHERE AID = '" antisql($_SESSION['AID']) . "' AND Opened = '1'");
        
    $data mssql_fetch_assoc($res);
        
    $hoy date("dmY");
        if(
    $hoy >= $data['BanFinish']){
            
    //We remove the ban if it has expired
            
    mssql_query("UPDATE Account SET UGradeID = '253' WHERE AID = '" antisql($_SESSION['AID']) . "'");
            
    mssql_query("UPDATE AccountBan SET Opened = '253' WHERE ABID = '".$data['ABID']."'");
            
    $_SESSION['UGradeID'] = 0;
            
    //Redirect to the index
            
    re_dir("index.php");
        }
    Change 0 to 253 :D

  3. #18
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Re: MPOG is auto unbanning accounts

    Quote Originally Posted by Pauliinho View Post
    PHP Code:
    <?php
    //This file has been edited by Wizkid. All rights reserved.
    //Fixed 2 exploits in this.
    //Once again, a SESSION can be spoofed.
    if($_SESSION['UGradeID'] == 253){
        
    $res mssql_query("SELECT * FROM AccountBan WHERE AID = '" antisql($_SESSION['AID']) . "' AND Opened = '1'");
        
    $data mssql_fetch_assoc($res);
        
    $hoy date("dmY");
        if(
    $hoy >= $data['BanFinish']){
            
    //We remove the ban if it has expired
            
    mssql_query("UPDATE Account SET UGradeID = '0' WHERE AID = '" antisql($_SESSION['AID']) . "'");
            
    mssql_query("UPDATE AccountBan SET Opened = '0' WHERE ABID = '".$data['ABID']."'");
            
    $_SESSION['UGradeID'] = 0;
            
    //Redirect to the index
            
    re_dir("index.php");
        }
    TO

    PHP Code:
    <?php
    //This file has been edited by Wizkid. All rights reserved.
    //Fixed 2 exploits in this.
    //Once again, a SESSION can be spoofed.
    if($_SESSION['UGradeID'] == 253){
        
    $res mssql_query("SELECT * FROM AccountBan WHERE AID = '" antisql($_SESSION['AID']) . "' AND Opened = '1'");
        
    $data mssql_fetch_assoc($res);
        
    $hoy date("dmY");
        if(
    $hoy >= $data['BanFinish']){
            
    //We remove the ban if it has expired
            
    mssql_query("UPDATE Account SET UGradeID = '253' WHERE AID = '" antisql($_SESSION['AID']) . "'");
            
    mssql_query("UPDATE AccountBan SET Opened = '253' WHERE ABID = '".$data['ABID']."'");
            
    $_SESSION['UGradeID'] = 0;
            
    //Redirect to the index
            
    re_dir("index.php");
        }
    Change 0 to 253 :D

    No, when ban date finish, the account will stay banned '-'

  4. #19
    Account Upgraded | Title Enabled! frenchfatcat is offline
    MemberRank
    Dec 2008 Join Date
    229Posts

    Re: MPOG is auto unbanning accounts

    Quote Originally Posted by omgisavedu View Post
    i prefer use free website host
    thats why you fail.



Page 2 of 2 FirstFirst 12

Advertisement