This repository contains scripts and utilities for CyberPanel to help with common tasks, fixes, and optimizations.
These scripts were created and contributed by the following users:
To use these scripts, copy the respective command and run it directly in your terminal. The commands use curl
or wget
to download and execute the scripts dynamically.
Migrates DNS records from Cloudflare to PowerDNS.
Command to use:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cloudflare_to_powerdns.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cloudflare_to_powerdns.sh)
Updates CrowdSec and manages configurations.
Command to update CrowdSec:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/crowdsec_update.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/crowdsec_update.sh)
Fixes symbolic link issues in CyberPanel.
Command to run:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cyberpanel_fix_symbolic_links.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cyberpanel_fix_symbolic_links.sh)
Manages and clears old CyberPanel sessions.
Command to clear sessions:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cyberpanel_sessions.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cyberpanel_sessions.sh)
Automates session cleanup with a cronjob.
Command to add the cronjob:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cyberpanel_sessions_cronjob.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/cyberpanel_sessions_cronjob.sh)
Sets a custom default webpage for new websites.
Command to run:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/defaultwebsitepage.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/defaultwebsitepage.sh)
Disables two-factor authentication in CyberPanel.
Command to disable 2FA:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/disable_2fa.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/disable_2fa.sh)
Fixes 503 Service Unavailable errors in CyberPanel.
Command to fix:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/fix_503_service_unavailable.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/fix_503_service_unavailable.sh)
Installs or repairs missing WP-CLI (WordPress Command-Line Interface).
Command to fix:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/fix_missing_wp_cli.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/fix_missing_wp_cli.sh)
Installs and configures Pure-FTPd.
Command to install:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/install_pureftpd.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/install_pureftpd.sh)
Installs and configures VSFTPD.
Command to install:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/install_vsftpd.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/install_vsftpd.sh)
Changes the MariaDB version.
Command to change:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/mariadb_v_changer.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/mariadb_v_changer.sh)
Changes the OWASP ModSecurity rules version.
Command to update rules:
sh <(curl -s https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/modsec_rules_v_changer.sh || wget -qO - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/modsec_rules_v_changer.sh)