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.

Call cxs scan from cPanel plugin

Discussion in 'Security' started by haulpd, Aug 7, 2017.

  1. haulpd

    haulpd Active Member

    Joined:
    May 20, 2011
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    58
    I want provided to my customer to scan malware via cxs on cpanel plugin. But I received error:
    Permission denied [only root or nobody allowed]
    I had tried add jailshell to account, check php.ini
    How I can run cxs command to scan from cpanel plugin ?
    Thanks!
     
  2. 24x7server

    24x7server Well-Known Member

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

    Try executing the below command with directory you want to scan.
    # cxs <Directory you want to scan>
     
  3. haulpd

    haulpd Active Member

    Joined:
    May 20, 2011
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    58
    Hi
    I run that command via php exec($cmd, $output, $result) on my live plugins and get that error:

    array(2) { [0]=> string(1) "1" [1]=> string(47) "Permission denied [only root or nobody allowed]" } int(0)

    I want my customer can scan virus via cxs on my Cpanel Server.

    I don't run on tty

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This third-party plugin is only designed to work for server administrators, not end users. Here's a quote from their FAQ page:

    Thank you.
     
Loading...

Share This Page