Article:
  Introducing mod_security
Subject:   filettering php shell Scripts
Date:   2006-02-24 09:05:09
From:   ivanr
Response to: filettering php shell Scripts

Inspecting a file before it is executed shouldn't be difficult. The best approach is probably to use a custom Apache module configured to execute just before PHP (in your case) execution takes place. It would scan the target script and refuse to run if it detects something inappropriate.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • filettering php shell Scripts
    2006-03-05 20:24:17  ALDWLYA [View]

    Dear ivanr

    it was tested on yahoo.com hosting .. when i upload a shell script on my site for testing .. and request it via the explorer it didn't work or load at all ... i thoght that the site gone down .. but the site was very fast .. and the shell script only didn't load or opened via the explorer


    i thoght that thier is somthing reading the file content after it display or loaded ..

    i have try to add some options to Mod_Security

    it work done for disabling more .. but the page still loaded ...

    we are want somthing like the other on yahoo.com hosting ..

    Best regards
    -Ahmed