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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Are these cPanel related folders/files?

Discussion in 'Security' started by EneTar, Jan 27, 2018.

  1. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    121
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Are those folders related to cPanel.

    Code:
    /opt/cpanel/ <-- I understand that this one is legit
    /opt/curlssl/
    /opt/libmcrypt/
    /opt/lua/                 <-- #which lua returns /usr/bin/lua
    /opt/pcre/
    /opt/php_with_imap_client/
    /opt/postupcp/
    /opt/rh/
    /opt/suphp/
    /opt/tidy/
    /opt/xml2/
    /opt/xslt/
    1)Does cPanel ever stored at or does it currently use any of those folders in the /opt/ ?
    I'm worried especially about the /opt/php_with_imap_client/ because google results related to this are not optimistic. Inside there is a file /opt/php_with_imap_client/version with content just
    Code:
    2007f-cpanel
    2)Could those above been publicly accessible in anyway?

    I think that when I got the dedicated box it was delivered to me without a fresh clean as most of those are dated in 2013 (a couple of years earlier than i got the box).
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,675
    Likes Received:
    73
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Not all files in this filesystem area belongs to the cPanel, most of them are default filesystems.. /opt/suphp/ was used previously, but it has moved to /etc now in new builds.. In new cPanel builts, you will see /opt/cpanel and this is important one for PHP customization..

    No, they are not accessible publically..
     
    EneTar likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,516
    Likes Received:
    1,616
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The directories you see in /opt appear to correspond to a system using EasyApache 3, as it's normal to see those directories when using EA3. With EasyApache 4, you will notice the following directory instead:

    /opt/cpanel/

    Thank you.
     
  4. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    121
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Thank you please mark this as resolved
     
Loading...

Share This Page