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.

PHP Shell

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

  1. tecwithquestion

    tecwithquestion Active Member

    Joined:
    Oct 20, 2014
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page