Welcome to the RaGEZONE - MMORPG development forums.

PHP (CMS) Patch Exploits!

This is a discussion on PHP (CMS) Patch Exploits! within the Habbo Releases forums, part of the Habbo Hotel category; Hello Forum.Ragezone.com, Have released this on Otaku already. And yes. Im EvilCoder on that! No leech. First of all. Don't ...

LyncusMU
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    The Omega
    Rank
    Member
    Join Date
    Jul 2009
    Location
    Netherlands
    Posts
    108
    Liked
    35

    PHP (CMS) Patch Exploits!

    Tabo Hotel
    Hello Forum.Ragezone.com,


    Have released this on Otaku already.
    And yes. Im EvilCoder on that! No leech.

    First of all. Don't come here to flame/insult other ppl.
    This is an PHP code. That will get rid of all injects.

    Go to the config.php file. Where you have edit the mysql data.
    Paste this into the file on the top or bottom. Doesn't matter.

    Code:
        foreach ($_POST as $key => $value)
        {
            $_POST[$key] = htmlspecialchars($value, ENT_QUOTES);
        } 
    
    
    
    
        foreach ($_GET as $key => $value)
        {
                $_GET[$key] = htmlspecialchars($value, ENT_QUOTES);
        }
    Just make shure its between ' <?php ' && ' ?> '
    Now when you did that. You're cms is fully patched.

    Remember it will only work for the pages who includes the file: config.php!

    Works on every page. Every cms. Every php version.

    Your kindly,
    EvilCoder or Mister. M

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    [email protected]
    Rank
    Member +
    Join Date
    Sep 2009
    Location
    The Netherlands
    Posts
    236
    Liked
    38

    Re: PHP (CMS) Patch Exploits!

    what is it? an exploit or a anti exploit

  4. #3
    Steve jobbs 1995 - 2011.
    Rank
    Member +
    Join Date
    Jul 2008
    Location
    Dutch
    Posts
    268
    Liked
    39

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by nickymonsma View Post
    what is it? an exploit or a anti exploit
    Learn reading, It's an script that you paste in config.php and every page that include's config.php is exploit patched.
    So it's an anti-exploit.

    Little RIP off from

    http://forum.ragezone.com/f353/phoen...ection-807809/

    /TROLLFACE uMad?

  5. #4
    Average Member
    Rank
    Newbie
    Join Date
    Oct 2009
    Posts
    52
    Liked
    11

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by donszeh View Post

    Little RIP off from

    http://forum.ragezone.com/f353/phoen...ection-807809/

    /TROLLFACE uMad?
    it looks like a rip off from mine

  6. #5
    What you looking at?
    Rank
    Subscriber
    Join Date
    Oct 2009
    Location
    London
    Posts
    221
    Liked
    112

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by donszeh View Post
    Actually, I think it is. But he edited the script a little bit? Damn.

    How noob can he be?

    He's pretty noob.
    Because he say's im C# pro, But he's still using Phoenix?
    Calm down,
    --

    Thanks for contributing to the ragezone habbo section.

  7. #6
    Omega
    Rank
    Omega
    Join Date
    Dec 2006
    Posts
    6,838
    Liked
    88

    Re: PHP (CMS) Patch Exploits!

    This stopts XSS, NOT injects!!!!!

  8. #7
    MEHHREKHwhgfkehrkgthregir
    Rank
    Member +
    Join Date
    Sep 2011
    Location
    υηιтє∂
    Posts
    925
    Liked
    303

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by Superfun View Post
    This stopts XSS, NOT injects!!!!!
    What this guy said.

  9. #8
    C# / Java Programmer
    Rank
    Member +
    Join Date
    Jan 2007
    Location
    Everywhere
    Posts
    356
    Liked
    99

    Re: PHP (CMS) Patch Exploits!

    Yeah, filtering for html special characters filters out stuff like < and > to their HTML-valid counterparts. It only blocks XSS, you can still perform SQL injections, and even with XSS injection there are typically ways around it.

    Don't trust this to "secure" your CMS.

  10. #9
    aka Illumnia <Guent.nl>
    Rank
    Member +
    Join Date
    Dec 2009
    Location
    The Netherlands
    Posts
    415
    Liked
    224

    Re: PHP (CMS) Patch Exploits!

    @donszeh,
    You are actually a skid; Why are you posting crap? If you don't know what you're saying. You said you need to put it in your configuration? false. You need to put it into a global page.

    Ehm, if you wanna fix it, you can use you're phoenix filter? Not that hard:
    Code:
        foreach ($_POST as $key => $value)
        {
            $_POST[$key] = $core->EscapeString($value);
        } 
    
    
    
    
        foreach ($_GET as $key => $value)
        {
                $_GET[$key] = $core->EscapeString($value);
        }
    Goodluck.

  11. #10
    Ron
    Omega
    Rank
    Omega
    Join Date
    Apr 2005
    Location
    Dallas, TX
    Posts
    7,268
    Liked
    1020

    Re: PHP (CMS) Patch Exploits!

    How did you "release" something that has been in PHP since before you even decided to learn it?

  12. #11
    Steve jobbs 1995 - 2011.
    Rank
    Member +
    Join Date
    Jul 2008
    Location
    Dutch
    Posts
    268
    Liked
    39

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by MerijnZ View Post
    @donszeh,
    You are actually a skid; Why are you posting crap? If you don't know what you're saying. You said you need to put it in your configuration? false. You need to put it into a global page.

    Ehm, if you wanna fix it, you can use you're phoenix filter? Not that hard:
    Code:
        foreach ($_POST as $key => $value)
        {
            $_POST[$key] = $core->EscapeString($value);
        } 
    
    
    
    
        foreach ($_GET as $key => $value)
        {
                $_GET[$key] = $core->EscapeString($value);
        }
    Goodluck.
    Errmmm sorry for you mate.

    Go to the config.php file. Where you have edit the mysql data.
    Paste this into the file on the top or bottom. Doesn't matter.

    Did say "Mister.M" not me.--"

    And actually, You think i'm a skid. I know what i can do to people, Where i'm good at. And i'm not gonna "Show" it to people i know.

    last 3 years defaced 200 websites mate =]

  13. #12
    aka Illumnia <Guent.nl>
    Rank
    Member +
    Join Date
    Dec 2009
    Location
    The Netherlands
    Posts
    415
    Liked
    224

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by donszeh View Post
    Errmmm sorry for you mate.

    Go to the config.php file. Where you have edit the mysql data.
    Paste this into the file on the top or bottom. Doesn't matter.

    Did say "Mister.M" not me.--"

    And actually, You think i'm a skid. I know what i can do to people, Where i'm good at. And i'm not gonna "Show" it to people i know.

    last 3 years defaced 200 websites mate =]
    Did i talk about defacements? No. I have defaced 800+ domains this week, so what? Rooted the webservers.

    I talk about your newbie response, not your actions.

    Edit: There is a 'global' page at PhoenixPHP and another Content Management Systems, The configuration is not the right place.

  14. #13
    Law
    Garry's Mod is addictive!
    Rank
    Subscriber
    Join Date
    Dec 2009
    Location
    Norway
    Posts
    1,010
    Liked
    230

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by MerijnZ View Post
    Did i talk about defacements? No. I have defaced 800+ domains this week, so what? Rooted the webservers.

    I talk about your newbie response, not your actions.

    Edit: There is a 'global' page at PhoenixPHP and another Content Management Systems, The configuration is not the right place.
    Oh, we gonna talk about defacing websites?

    Well I have defaced 0 websites cause I'm not a asshole to other people.

    Stop braggin' about it, mkay? ;)

  15. #14
    aka Illumnia <Guent.nl>
    Rank
    Member +
    Join Date
    Dec 2009
    Location
    The Netherlands
    Posts
    415
    Liked
    224

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by Law View Post
    Oh, we gonna talk about defacing websites?

    Well I have defaced 0 websites cause I'm not a asshole to other people.

    Stop braggin' about it, mkay? ;)
    Cool story.

  16. #15
    What about no.
    Rank
    Subscriber
    Join Date
    Nov 2009
    Location
    The Nederlands
    Posts
    900
    Liked
    303

    Re: PHP (CMS) Patch Exploits!

    Quote Originally Posted by MerijnZ View Post
    Did i talk about defacements? No. I have defaced 800+ domains this week, so what? Rooted the webservers.

    I talk about your newbie response, not your actions.

    Edit: There is a 'global' page at PhoenixPHP and another Content Management Systems, The configuration is not the right place.

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •