From 683b7da2e49398ad87470b22795c522134fbfae8 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 26 May 2021 12:57:41 +0500 Subject: [PATCH] update lscpd to resolve https://forums.cyberpanel.net/discussion/5431/tls-robot-vulnerability-detected --- plogical/upgrade.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index d60ddfca6..32048d552 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -457,7 +457,6 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; if count == 3: break else: - break ###### iPath = os.listdir('/usr/local/CyberCP/public/rainloop/rainloop/v/') @@ -1839,13 +1838,13 @@ imap_folder_list_limit = 0 if os.path.exists(lscpdPath): os.remove(lscpdPath) - command = 'cp -f /usr/local/CyberCP/lscpd-0.2.7 /usr/local/lscp/bin/lscpd-0.2.7' + command = 'cp -f /usr/local/CyberCP/lscpd-0.3.1 /usr/local/lscp/bin/lscpd-0.3.1' Upgrade.executioner(command, command, 0) command = 'rm -f /usr/local/lscp/bin/lscpd' Upgrade.executioner(command, command, 0) - command = 'mv /usr/local/lscp/bin/lscpd-0.2.7 /usr/local/lscp/bin/lscpd' + command = 'mv /usr/local/lscp/bin/lscpd-0.3.1 /usr/local/lscp/bin/lscpd' Upgrade.executioner(command, command, 0) command = 'chmod 755 %s' % (lscpdPath)