The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Security issue

Discussion in 'Security' started by prof, Feb 21, 2006.

  1. prof

    prof Member

    Joined:
    Jan 22, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    dear sirs,

    is there any way , idea , function ... to put it into a .htaccess file .. to check a file content when somone request that file from the web ????


    If somone hacked a web site and uploade a PHP shell ... of course he will request it via

    the web like http://site.com/phpshell.php

    here i want to someting to check that phpshell contente ... if it finde a shell script ..

    it's prevent it displaying via the web .. if itsn't a shell script .. it's allow for its request and display the file content ..

    waiting foe early replay ..

    and I'm so sorry for my bad English

    thanks & best regards ..

    -Prof,​
     
  2. ShockHosts

    ShockHosts Well-Known Member

    Joined:
    Nov 25, 2005
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    I doubt there is anything good out there, but I would say you could easily make one (don't ask me) :D
     
  3. NT

    NT Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Why not try mod_security? I think that's pretty much designed to prevent these kinds of things from working.
     
  4. prof

    prof Member

    Joined:
    Jan 22, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    ok dear i look in mod_security options and provide you ...

    thanks
     
Loading...

Share This Page