From 30e4d2d28be93e0588683aee5b4a9c82c3d1cf67 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 28 Dec 2025 02:49:41 +0500 Subject: [PATCH] update OLS module checksums for Phase 2 Brute Force Protection - Update cyberpanel_ols module URLs to use /binaries/ path structure - Update SHA256 checksums for all platforms (rhel8, rhel9, ubuntu) - Enable RHEL 8 module support (was previously disabled) - Module version 2.2.0 with Phase 2 features --- install/installCyberPanel.py | 13 +++++++------ plogical/upgrade.py | 12 ++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index bd543e4cd..7210c9c62 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -327,24 +327,25 @@ class InstallCyberPanel: InstallCyberPanel.stdOut(f"Detected platform: {platform}", 1) # Platform-specific URLs and checksums (OpenLiteSpeed v1.8.4.1 - v2.0.5 Static Build) + # Module Build Date: December 27, 2025 - Phase 2 Brute Force Protection BINARY_CONFIGS = { 'rhel8': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel8-static', 'sha256': '6ce688a237615102cc1603ee1999b3cede0ff3482d31e1f65705e92396d34b3a', - 'module_url': None, # RHEL 8 doesn't have module (use RHEL 9 if needed) - 'module_sha256': None + 'module_url': 'https://cyberpanel.net/binaries/rhel8/cyberpanel_ols_x86_64_rhel8.so', + 'module_sha256': '90b5d9eea399503ff2a9948163e6253f049f54cbd80256a3183157b9d5f7d94b' }, 'rhel9': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel9-static', 'sha256': '90468fb38767505185013024678d9144ae13100d2355097657f58719d98fbbc4', - 'module_url': 'https://cyberpanel.net/cyberpanel_ols_x86_64_rhel.so', - 'module_sha256': '127227db81bcbebf80b225fc747b69cfcd4ad2f01cea486aa02d5c9ba6c18109' + 'module_url': 'https://cyberpanel.net/binaries/rhel9/cyberpanel_ols_almalinux9.6_x86_64.so', + 'module_sha256': 'a6466bc89d4a33bb0df5a8dce2887b7d0323867f525ccda1db371efcc7c64422' }, 'ubuntu': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-ubuntu-static', 'sha256': '89aaf66474e78cb3c1666784e0e7a417550bd317e6ab148201bdc318d36710cb', - 'module_url': 'https://cyberpanel.net/cyberpanel_ols_x86_64_ubuntu.so', - 'module_sha256': 'e7734f1e6226c2a0a8e00c1f6534ea9f577df9081b046736a774b1c52c28e7e5' + 'module_url': 'https://cyberpanel.net/binaries/ubuntu/cyberpanel_ols_x86_64_ubuntu.so', + 'module_sha256': '31f710c915e7996c8c99c09fbd20268df1ea7b8c983c2f44d9632b1e024a0a60' } } diff --git a/plogical/upgrade.py b/plogical/upgrade.py index ea72adbb9..304cb90df 100644 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -739,24 +739,24 @@ class Upgrade: 'rhel8': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel8-static', 'sha256': '6ce688a237615102cc1603ee1999b3cede0ff3482d31e1f65705e92396d34b3a', - 'module_url': 'https://cyberpanel.net/cyberpanel_ols_x86_64_rhel8.so', - 'module_sha256': 'c57f6f14a9ba787b9051dee98c1375a4f34ec4e25b492e97a8825aee04dda02a', + 'module_url': 'https://cyberpanel.net/binaries/rhel8/cyberpanel_ols_x86_64_rhel8.so', + 'module_sha256': '90b5d9eea399503ff2a9948163e6253f049f54cbd80256a3183157b9d5f7d94b', 'modsec_url': 'https://cyberpanel.net/mod_security-compatible-rhel8.so', 'modsec_sha256': 'bbbf003bdc7979b98f09b640dffe2cbbe5f855427f41319e4c121403c05837b2' }, 'rhel9': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel9-static', 'sha256': '709093d99d5d3e789134c131893614968e17eefd9ade2200f811d9b076b2f02e', - 'module_url': 'https://cyberpanel.net/cyberpanel_ols_x86_64_rhel.so', - 'module_sha256': 'ae79d4fcf56131c01c3d81dc704ad265ac881b61d0a90cec62e4ac22c0e69929', + 'module_url': 'https://cyberpanel.net/binaries/rhel9/cyberpanel_ols_almalinux9.6_x86_64.so', + 'module_sha256': 'a6466bc89d4a33bb0df5a8dce2887b7d0323867f525ccda1db371efcc7c64422', 'modsec_url': 'https://cyberpanel.net/mod_security-compatible-rhel.so', 'modsec_sha256': '19deb2ffbaf1334cf4ce4d46d53f747a75b29e835bf5a01f91ebcc0c78e98629' }, 'ubuntu': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-ubuntu-static', 'sha256': '89aaf66474e78cb3c1666784e0e7a417550bd317e6ab148201bdc318d36710cb', - 'module_url': 'https://cyberpanel.net/cyberpanel_ols_x86_64_ubuntu.so', - 'module_sha256': '57129f12b98c5b1693d10eddad3ad57917773540ca68c5491dee23588ef313ac', + 'module_url': 'https://cyberpanel.net/binaries/ubuntu/cyberpanel_ols_x86_64_ubuntu.so', + 'module_sha256': '31f710c915e7996c8c99c09fbd20268df1ea7b8c983c2f44d9632b1e024a0a60', 'modsec_url': 'https://cyberpanel.net/mod_security-compatible-ubuntu.so', 'modsec_sha256': 'ed02c813136720bd4b9de5925f6e41bdc8392e494d7740d035479aaca6d1e0cd' }