Call cxs scan from cPanel plugin
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!
-
Hi, Try executing the below command with directory you want to scan. # cxs 0 -
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 0 -
Hello, This third-party plugin is only designed to work for server administrators, not end users. Here's a quote from their FAQ page: cxs is foremost a command line utility that is run from the root shell via SSH, cron jobs and application specific scripts. It is aimed at server administrators, not end-users.
Thank you.0
Please sign in to leave a comment.
Comments
3 comments