Hi,
I'm receiving an error from cron daemon (received daily by email the last since last update) as follows:
From:
(Cron Daemon)
Topic:
Cron <root@cwp> /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php
Message:
PHP Notice: Undefined index: domain in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php on line 0
PHP Notice: Undefined variable: autoSslResult in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php on line 0
CWP version: 0.9.8.907
Looking into the file mentioned, it looks like this (I have no idea if this is how it should be) [I didn't include the whole encoded text as it's long]:
<?php //00423
// Copyright CentOS WebPanel, Decoding is FORBIDDEN
// All Rights Reserved. www.centos-webpanel.com
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube');exit(199);
?>
HR+cPsfvdZuTys8ng9yB7L3/WWtj2VtDsoYsrz0HNXGo5SH0kqiEuSq73QX80M6vjax1ivhaKYxE
1AXwY7c7bt6cFbrnZzyXqFLnGE7I0NvgnGe90rSuGkhBSCQhuuJoZdIzi75ZlxDmkE2zMTCK+s5a
Kket5Opq0P2HKOAZ1dFMCIql3CfE2ju7xrbjXPQze8BjFyl2kQnDsiwbxJkr1BgFd3Z/GmYM9n8S
NuGtdrBTy2gqW/vv9nuSNusLUHQLY22eivE1KswXYMwS0eI3y4S68J2g9wNAX8tPNRNx+yo39Sft
0wjWQ6+IGmTJ8LvlFVfADwVrGsOw/M9Mq6i2uaXLw1MVlcAXrdnxAbcibPL6FizV++SoAE/hJhjc
/Xhmbefja+t+OVFZbulbcYyzhQkBeeRxOCG9kAKsTqmuHWkXY1kVHYr0NLifFe5PyqqK8ZcRi0KT
ZWcToVjQLJHty3T3byxa6XJ0NNbBsiB95VPCcnmhibgrZUqQfrnznhdONsk8cYlUfI4G6QDDiNpf
t8qkSOUdKX5r59F3NLoBFvzKZ7Kk6uqec+MhlQm+pIOkfeAwGWHLPrK89IC3HUagVsgfmViqlArO
5AU18XFSyOxBSRZuzxLCNwC1IFb8ezcfYhIq3kRJdcWPqNq+UyHGes42uyXQPZQ003P+M1Y/46Xj