Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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,​
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ShockHosts

    ShockHosts Well-Known Member

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

    NT Well-Known Member

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

    prof Member

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

    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice