#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0

    Apache2 with php-cgi not working


    hey all,

    I am trying to make apache2 work with php-cgi because I am trying to exploit the php security flaw.
    I am using an ubuntu 8.04 image. For some reason I can't get it to work.
    I followed a link (which I cannot semm to post here) explaining how to make it work.

    for some reason my directory structure does not match the ones mentionned in the link and I have no idea how to make it work.


    Any hints?
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,002
    Rep Power
    9398
    You can post links as long as they don't have the http:// prefix (at least).
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0
    Originally Posted by requinix
    You can post links as long as they don't have the http:// prefix (at least).
    then it will be this one :

    bobulous.org.uk/coding/apache-php-cgi.html

    I got this by using another website:
    bobulous.org. uk/coding/apache-php-cgi. html

    this one shows what I want to do but I do not succeed for some reason and I just know that it is the cgi that ain't working:
    blog.spiderlabs. com /2012/05/php-cgi-exploitation-by-exampl .html
  6. #4
  7. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,002
    Rep Power
    9398
    Well it doesn't look like there's anything you have to customize with the installation so... I'd say just install the Apache and "php5-cgi" packages. That should take care of everything for you.

IMN logo majestic logo threadwatch logo seochat tools logo