Globe CMS [FOR SNOWLIGHT]

Results 1 to 7 of 7
  1. #1
    Apprentice Perreps1 is offline
    MemberRank
    Sep 2010 Join Date
    Floripa, BrazilLocation
    24Posts

    Globe CMS [FOR SNOWLIGHT]

    Hello Guys,
    I started using this development as a joke, only for me to "test" my knowledge in php, but I saw that the project was cool and decided to launch...

    Specifications:
    - Login / Logout 100%
    - Slider / News System 100%
    - External Login 100%
    - System Maintenance 100%
    - Register 80% (But for the register is normal)
    - Housekeeping 80%
    - Locking in IExplorer 100% (Bug in Design)

    Well let the images...

    Images:

    Snippets:




    Index:


    Me:


    Settings:


    External Login:


    Browser Page:


    Download:
    Mediafire

    Credits: Souza

    You are invited to distribute since put my credits: Souza
    Sorry my English, because i'm portuguese.
    The CMS is in Portuguese!
    Thanks for reading!!
    Last edited by Perreps1; 22-10-12 at 04:37 AM.


  2. #2
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: Globe CMS [FOR SNOWLIGHT]

    I see a lot of double quotes in your coding
    And you have a lot of double ifs and elses with no coding in it.

    The structure isn't bad, just some small things that can be fatal in a production environment.

    PHP Code:
    $rows mysql_num_rows($userq);
    if(
    $rows >= 1)
    {
        
    $value 1;
    }
        else
    {
        
    $value 0;
    }
    return 
    $value
    Or just use
    PHP Code:
    return (mysql_num_rows($userq) == 0); 
    ____
    Reading throught the source some more and I can see a lot of unfinished and exploitable code.
    First off all use concentrated strings with single quotes, second don't use require_once but use require (remove all the includes on top of the classes -_-).

    $user_data[''.$value.''] WTF? $user_data[$value] would be better.

    $username = $_POST["username"];
    $query = mysql_query("SELECT account_name FROM users WHERE account_name = '".$username."' LIMIT 1;");

    Exploit.

    if($GlobeUsers->GetBadges($_SESSION['account_name']) >= "11" && $GlobeUsers->GetBadges($_SESSION['account_name']) <= "13")
    {

    }
    else
    {
    $GlobeSecurity->Redirect("maintenance.php");
    }

    can be changed to

    if(!($GlobeUsers->GetBadges($_SESSION['account_name']) >= "11" && $GlobeUsers->GetBadges($_SESSION['account_name']) <= "13"))
    {
    $GlobeSecurity->Redirect("maintenance.php");
    }
    Last edited by azaidi; 21-10-12 at 01:33 PM.

  3. #3
    beep Bui is offline
    MemberRank
    Jan 2012 Join Date
    United KingdomLocation
    459Posts

    Re: Globe CMS [FOR SNOWLIGHT]

    It's funny how you deny access to users who use Internet Explorer but you yourself use and recommend Google Chrome. I'm going to re-upload this, but remove access restriction from IE users and block Google Chrome users.

    Good work, OP.

    EDIT: Delivered: http://ompldr.org/vZnlwYw
    Perhaps you could learn a thing or two from this, OP.
    Last edited by Bui; 21-10-12 at 02:50 PM.

  4. #4
    Apprentice Perreps1 is offline
    MemberRank
    Sep 2010 Join Date
    Floripa, BrazilLocation
    24Posts

    Re: Globe CMS [FOR SNOWLIGHT]

    Quote Originally Posted by azaidi View Post
    I see a lot of double quotes in your coding
    And you have a lot of double ifs and elses with no coding in it.

    The structure isn't bad, just some small things that can be fatal in a production environment.

    PHP Code:
    $rows mysql_num_rows($userq);
    if(
    $rows >= 1)
    {
        
    $value 1;
    }
        else
    {
        
    $value 0;
    }
    return 
    $value
    Or just use
    PHP Code:
    return (mysql_num_rows($userq) == 0); 
    ____
    Reading throught the source some more and I can see a lot of unfinished and exploitable code.
    First off all use concentrated strings with single quotes, second don't use require_once but use require (remove all the includes on top of the classes -_-).

    $user_data[''.$value.''] WTF? $user_data[$value] would be better.

    $username = $_POST["username"];
    $query = mysql_query("SELECT account_name FROM users WHERE account_name = '".$username."' LIMIT 1;");

    Exploit.

    if($GlobeUsers->GetBadges($_SESSION['account_name']) >= "11" && $GlobeUsers->GetBadges($_SESSION['account_name']) <= "13")
    {

    }
    else
    {
    $GlobeSecurity->Redirect("maintenance.php");
    }

    can be changed to

    if(!($GlobeUsers->GetBadges($_SESSION['account_name']) >= "11" && $GlobeUsers->GetBadges($_SESSION['account_name']) <= "13"))
    {
    $GlobeSecurity->Redirect("maintenance.php");
    }
    Thank you for downloading...
    and thanks for the tips is that I am a beginner in php :(

  5. #5
    Apprentice TheDictator is offline
    MemberRank
    Oct 2012 Join Date
    8Posts

    Re: Globe CMS [FOR SNOWLIGHT]

    It haves many errors in the index...

  6. #6
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,610Posts

    Re: Globe CMS [FOR SNOWLIGHT]

    Quote Originally Posted by TheDictator View Post
    It haves many errors in the index...
    And many exploits.

  7. #7
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: Globe CMS [FOR SNOWLIGHT]

    It haves many errors in the index...
    You have obviously done something wrong that it sows errors, because it doesn't show any for me.

    Try searching them up and fix them that might work out.



Advertisement