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!

PHP Shell

Discussion in 'Security' started by tecwithquestion, Oct 20, 2014.

  1. tecwithquestion

    tecwithquestion Well-Known Member

    Joined:
    Oct 20, 2014
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    While daily server scan I found some files with result : PHP.Shell-38 found . When I tested those file found its very risky.

    How can I prevent user for accessing/uploading these types for files

    I found one answer for this :

    When I tried this, I got many issues for wordpress sites.. while editing / publishing post. Error code was 406
    Also this will block only uploading php.shell file.. if someone open file manager >> create new file >> copy past php shell code in it. >> save file and then brwose file.. it will work..

    I noticed that godaddy have some settings which block browsing such kind of files..

    how can we do that on our server ?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    You can install ConfigServer eXploit Scanner on your server. It's will scan all files while uploading on your server through FTP, File manger OR web browser
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    It's likely a good idea to have security measures in place so that the files do not work as intended even when they are uploaded. The "Security Advisor" option in Web Host Manager is a good place to start.

    Thank you.
     
    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