+ Reply to Thread
Results 1 to 4 of 4

Thread: PHP Easter Eggs

  1. #1
    dragoneye_xp's Avatar
    dragoneye_xp is offline x10 Sophmore dragoneye_xp is an unknown quantity at this point
    Join Date
    Oct 2005
    Location
    Texas
    Posts
    165

    Cool PHP Easter Eggs

    ...
    If you add the code "?=PHPE9568F36-D428-11d2-A769-00AA001ACF42" (without quotes) to the end of any URL that is a PHP page, you will see a funny picture on most servers. Also on April 1st (April Fool's Day), the picture will replace the PHP logo on any phpinfo() page. If the PHP directive expose_php is set to be "off" in php.ini, then the PHP eggs will not show, but it is "on" by default, and many servers do not change it.
    ...
    These are the four QUERY strings you can add to the end of a PHP web page to view a (somewhat) hidden image or page:

    (1) ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
    ...displays an "easter egg" image of either a rabbit in a house, a brown dog in the grass, a black Scottish Terrier dog, or a guy with breadsticks (looks like pencils or french fries) sticking out of his mouth like a walrus.
    ...
    (2) ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42
    This is used by the phpinfo function to display the PHP logo, but works on other PHP pages.

    (3) ?=PHPE9568F35-D428-11d2-A769-00AA001ACF42
    This is used by the phpinfo() function to display the Zend logo, but also works on other PHP-parsed pages.

    (4) ?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
    This displays the PHP development credits, and is linked to from any phpinfo() page with text "PHP Credits".

    I read this then tried doing that on some random sites and sure enough, it worked! It even does it on my desktop server.
    But personally, I think that's just an exploit waiting to happen...
    Last edited by dragoneye_xp; 06-14-2006 at 11:08 AM.

  2. #2
    lambada's Avatar
    lambada is offline x10 Elder lambada is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Caister, Gt Yarmouth, Norfolk, ENGLAND
    Posts
    1,222

    Re: PHP Easter Eggs

    That is cool. hmmm..... I wonder if there are any otehr easter eggs?
    Lambada - the former Account Manager (before I resigned)




  3. #3
    Cynical's Avatar
    Cynical is offline Lord Of The Keys Cynical is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Massachusetts, USA
    Posts
    1,746

    Re: PHP Easter Eggs

    How could somebody exploit that? The PHP interpreter simply checks for the code, then generates the image accordingly. I don't see how someone could exploit something like this....
    Seven: This rule is so underrated, keep your family and business completely separated.

  4. #4
    Richard's Avatar
    Richard is offline x10 Elder Richard is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    South Africa
    Posts
    1,014

    Re: PHP Easter Eggs

    There is nothing to exploit, the images are base64 encoded into php the same way images are put into any other program you run now days. Having phpinfo() readable to the entire world is more dangerous.
    sourcewave.net -- Linux is like a teepee, no Windows, no Gates, Apache inside.

+ Reply to Thread

Similar Threads

  1. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  2. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  3. [PHP] PHP For Starters
    By Complex in forum Tutorials
    Replies: 24
    Last Post: 06-14-2008, 11:40 PM
  4. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers