PATH:
usr
/
local
/
cpanel
/
scripts
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/modsec_vendor Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited package scripts::modsec_vendor; use strict; use IO::Interactive (); use Cpanel::CLIProgress (); use Cpanel::Exception (); use Cpanel::Hooks (); use Cpanel::Locale 'lh'; use Cpanel::Logger (); use Cpanel::HttpUtils::ApRestart::Defer (); use Whostmgr::ModSecurity (); use Whostmgr::ModSecurity::VendorList (); use Whostmgr::ModSecurity::Vendor (); # All functions in this script, including run, return true on success and false on failure. # The conversion to exit status happens here only. unless (caller) { exit( run(@ARGV) ? 0 : 1 ); } sub run { my ( $command, @args ) = @_; if ( !Whostmgr::ModSecurity::has_modsecurity_installed() ) { _logger()->info( lh()->maketext(q{You do not have [asis,ModSecurity] installed. There is no work to do.}) ); return 1; } if ( $command eq 'list' ) { return list(@args); } elsif ( $command eq 'add' ) { return add(@args); } elsif ( $command eq 'remove' ) { return remove(@args); } elsif ( $command eq 'update' ) { return update(@args); } elsif ( $command eq 'enable' ) { return enable(@args); } elsif ( $command eq 'disable' ) { return disable(@args); } elsif ( $command eq 'enable-updates' ) { return enable_updates(@args); } elsif ( $command eq 'disable-updates' ) { return disable_updates(@args); } elsif ( $command eq 'enable-configs' ) { return enable_configs(@args); } elsif ( $command eq 'disable-configs' ) { return disable_configs(@args); } else { _die_usage(); } return 1; } sub list { my @args = @_; _die_usage() if @args; my $vendors = Whostmgr::ModSecurity::VendorList::list_detail_and_provided(); if ( !@$vendors ) { _logger()->info( lh()->maketext(q{There are no vendors.}) ); return 1; } for my $vendor_info (@$vendors) { print _format_vendor_info($vendor_info); } return 1; } sub add { my @args = @_; _die_usage() if @args < 1; my $all_ok = 1; _trigger_hook( "pre", "modsec_vendor::add" ); for my $url (@args) { local $@; my $vendor_info = eval { Whostmgr::ModSecurity::VendorList::add($url); }; my $ex = $@; if ($ex) { _logger()->warn( lh()->maketext( q{The system failed to add the vendor from the URL “[_1]”: [_2]}, $url, _format_exception($ex) ) ); $all_ok = 0; } else { _logger()->info( lh()->maketext( q{You have added the vendor “[_1]”.}, $vendor_info->{name} ) ); print "\n" . _format_vendor_info($vendor_info); } } _trigger_hook( "post", "modsec_vendor::add" ); return $all_ok; } sub remove { my @args = @_; _die_usage() if @args < 1; my $all_ok = 1; _trigger_hook( "pre", "modsec_vendor::remove" ); for my $vendor_id (@args) { local $@; eval { my $vendor = Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id ); $vendor->uninstall; }; my $ex = $@; if ($ex) { _logger()->warn( lh()->maketext( q{The system failed to remove the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); $all_ok = 0; } else { _logger()->info( lh()->maketext( q{You have removed the vendor “[_1]”.}, $vendor_id ) ); } } _trigger_hook( "post", "modsec_vendor::remove" ); return $all_ok; } sub update { my @args = @_; _die_usage() if @args != 1; my $all_ok = 1; _trigger_hook( "pre", "modsec_vendor::update" ); for my $to_update (@args) { my @urls; if ( $to_update =~ /^http:/ ) { push @urls, $to_update; } elsif ( $to_update eq '--auto' ) { _logger()->info( lh()->maketext(q{Updates are in progress for all of the installed [asis,ModSecurity] vendors with automatic updates enabled.}) ); for my $vendor_detail ( @{ Whostmgr::ModSecurity::VendorList::list_detail() } ) { my ( $vendor_id, $update, $enabled ) = @$vendor_detail{qw(vendor_id update enabled)}; my $vendor = Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id ); if ( !$update ) { _logger()->info( lh()->maketext( q{You have not configured the vendor “[_1]” to receive automatic updates.}, $vendor_id ) ); next; } if ( !$enabled ) { _logger()->info( lh()->maketext( q{You have not enabled the vendor “[_1]”. The vendor will not receive automatic updates.}, $vendor_id ) ); next; } if ( $vendor->{is_pkg} ) { push @urls, \$vendor->{is_pkg}; } else { push @urls, $vendor->installed_from || die lh()->maketext( q{The system could not determine the [asis,installed_from] URL for the vendor “[_1]”.}, $vendor_id ) . "\n"; } } } else { my $vendor = Whostmgr::ModSecurity::Vendor->load( vendor_id => $to_update ); if ( $vendor->{is_pkg} ) { push @urls, \$vendor->{is_pkg}; } else { push @urls, $vendor->installed_from || die lh()->maketext( q{The system could not determine the [asis,installed_from] URL for the vendor “[_1]”.}, $to_update ) . "\n"; } } my $defer = Cpanel::HttpUtils::ApRestart::Defer->new( 'lexical' => 1 ); $defer->block_restarts(); for my $url (@urls) { local $@; if ( ref($url) ) { my $pkg = ${$url}; # we disable excludes because: # * --auto will have not added to @urls i.e. update-disabled packages won’t make it here # * the manual direct arg is intended to allow them to update a rule set at will even if they have it disabled (i.e. a controlled update) require Cpanel::PackMan; $defer->allow_restarts(); # this locks httpd.conf which means universal hooks bits will wait for that lock eval { Cpanel::PackMan->instance->sys->upgrade( $pkg => "--disableexcludes=main" ) }; warn "Failed to upgrade “$pkg”, this will need done manually.\n" if $@; $defer->block_restarts(); next; } my $result = eval { Whostmgr::ModSecurity::VendorList::update( $url, 1 ); }; my $exception = $@; if ($exception) { if ( 'Cpanel::Exception::ModSecurity::VendorUpdateUnnecessary' eq ref $exception && '--auto' eq $to_update ) { _logger()->info( lh()->maketext( q{The vendor “[_1]” is already up to date.}, $exception->vendor_id ) ); next; } $all_ok = 0; my $err = lh()->maketext( q{The system failed to update the vendor from the URL “[_1]”: [_2]}, $url, _format_exception($exception) ); print $err . "\n"; #this is to ensure that scripts/maintenance sees the error and adds it to _logger()->warn($err); } else { my $vendor_info = $result->{vendor}; _logger()->info( lh()->maketext( q{You have updated the vendor “[_1]”.}, $vendor_info->{name} ) ); my $diagnostics = $result->{diagnostics}; if ( @{ $diagnostics->{added_configs} } ) { _logger()->info( lh()->maketext( q{You have added the following configuration files: [_1]}, @{ $diagnostics->{added_configs} } ) ); } if ( @{ $diagnostics->{deleted_configs} } ) { _logger()->info( lh()->maketext( q{You have removed the following configuration files: [_1]}, @{ $diagnostics->{deleted_configs} } ) ); } print "\n" . _format_vendor_info($vendor_info); } } $defer->allow_restarts(); } _trigger_hook( "post", "modsec_vendor::update" ); return $all_ok; } sub enable { my @args = @_; _die_usage() if @args != 1; my ($vendor_id) = @args; _trigger_hook( "pre", "modsec_vendor::enable" ); local $@; if ( eval { Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id )->enable() } ) { _logger()->info( lh()->maketext( q{You have enabled the vendor “[_1]”.}, $vendor_id ) ); _trigger_hook( "post", "modsec_vendor::enable" ); return 1; } my $ex = $@; _logger()->warn( lh()->maketext( q{The system could not enable the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); return 0; } sub disable { my @args = @_; _die_usage() if @args != 1; my ($vendor_id) = @args; _trigger_hook( "pre", "modsec_vendor::disable" ); local $@; if ( eval { Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id )->disable() } ) { _logger()->info( lh()->maketext( q{You have disabled the vendor “[_1]”.}, $vendor_id ) ); _trigger_hook( "post", "modsec_vendor::disable" ); return 1; } my $ex = $@; _logger()->warn( lh()->maketext( q{The system could not disable the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); return 0; } sub enable_updates { my @args = @_; _die_usage() if @args != 1; my ($vendor_id) = @args; _trigger_hook( "pre", "modsec_vendor::enable_updates" ); local $@; if ( eval { Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id )->enable_updates() } ) { _logger()->info( lh()->maketext( q{You have enabled updates for the vendor “[_1]”.}, $vendor_id ) ); _trigger_hook( "post", "modsec_vendor::enable_updates" ); return 1; } my $ex = $@; _logger()->warn( lh()->maketext( q{The system could not enable updates for the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); return 0; } sub disable_updates { my @args = @_; _die_usage() if @args != 1; my ($vendor_id) = @args; _trigger_hook( "pre", "modsec_vendor::disable_updates" ); local $@; if ( eval { Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id )->disable_updates() } ) { _logger()->info( lh()->maketext( q{You have disabled updates for the vendor “[_1]”.}, $vendor_id ) ); _trigger_hook( "post", "modsec_vendor::disable_updates" ); return 1; } my $ex = $@; _logger()->warn( lh()->maketext( q{The system could not disable updates for the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); return 0; } sub enable_configs { my @args = @_; _die_usage() if @args != 1; my ($vendor_id) = @args; my $progress_bar = Cpanel::CLIProgress->new( width => 30 ); _trigger_hook( "pre", "modsec_vendor::enable_configs" ); local $@; my ( $ok, $outcomes ) = eval { Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id, progress_bar => $progress_bar )->enable_configs() }; if ($ok) { _logger()->info( lh()->maketext( q{You have enabled all of the configuration files for the vendor “[_1]”.}, $vendor_id ) ); _trigger_hook( "post", "modsec_vendor::enable_configs" ); return 1; } my $ex = $@; _logger()->warn( lh()->maketext( q{The system could not enable all of the configuration files for the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); return 0; } sub disable_configs { my @args = @_; _die_usage() if @args != 1; my ($vendor_id) = @args; my $progress_bar = Cpanel::CLIProgress->new( width => 30 ); _trigger_hook( "pre", "modsec_vendor::disable_configs" ); local $@; my ( $ok, $outcomes ) = eval { Whostmgr::ModSecurity::Vendor->load( vendor_id => $vendor_id, progress_bar => $progress_bar )->disable_configs() }; if ($ok) { _logger()->info( lh()->maketext( q{You have disabled all of the configuration files for the vendor “[_1]”.}, $vendor_id ) ); _trigger_hook( "post", "modsec_vendor::disable_configs" ); return 1; } my $ex = $@; _logger()->warn( lh()->maketext( q{The system could not disable all of the configuration files for the vendor “[_1]”: [_2]}, $vendor_id, _format_exception($ex) ) ); return 0; } sub _format_vendor_info { my ($vendor_info) = @_; my ( $vert_divider, $wrap_heading ); if ( IO::Interactive::is_interactive() ) { $vert_divider = "\033[7m \033[m"; $wrap_heading = sub { "\033[7m" . shift . "\033[m" }; } else { $vert_divider = '|'; $wrap_heading = sub { shift }; } my $output = $wrap_heading->( sprintf( '[%s] %s', @$vendor_info{qw(vendor_id name)}, ) ) . ( !$vendor_info->{installed} ? ' (not installed)' : '' ) . "\n"; for my $k ( sort keys %$vendor_info ) { my $v = $vendor_info->{$k}; if ( 'ARRAY' eq ref $v ) { $v = sprintf( "(%d)", scalar(@$v) ); # just the count } $output .= sprintf( "% 16s %s %s\n", $k, $vert_divider, $v ); } $output .= "\n\n"; return $output; } sub _format_exception { my $exception = shift; chomp( $exception = Cpanel::Exception::get_string($exception) ); return $exception; } my $logger; sub _logger { $logger ||= Cpanel::Logger->new(); return $logger; } sub _die_usage { die <<EOU; usage: $0 <list | add | remove | update> ... list - Lists the currently-installed vendors add <vendor metadata YAML URL> - Installs a new vendor remove <vendor_id> - Removes the vendor with the specified vendor id update <vendor_id | vendor metadata YAML URL | --auto> - If a vendor_id is provided, this command updates the vendor specified by that id from the same URL or package that was used to install it. - If a URL is provided, this command updates an existing vendor from the specified URL. The URL need not be the same as the one used to originally install the vendor. - If --auto is specified, updates all installed vendors for which auto-update is enabled using the URLs or packages from which they were originally installed. enable <vendor_id> - Enables a vendor disable <vendor_id> - Disables a vendor enable-updates <vendor_id> - Enables automatic updates for a vendor disable-updates <vendor_id> - Disables automatic updates for a vendor enable-configs <vendor_id> - Enables all configs for a vendor disable-configs <vendor_id> - Disables all configs for a vendor EOU } #------------------------------------------------------------------------------------------------- # Scope: # private # Name: # _trigger_hook # Desc: # This function triggers the hook on scripts/modsec_vendor # Arguments: # - pre_or_post - a string that should be only "pre" or "post". # - event - a string that is the name of the api call. # example: modsec_vendor::add # Returns: # - Nothing is returned. #------------------------------------------------------------------------------------------------- sub _trigger_hook { my ( $pre_or_post, $event ) = @_; Cpanel::Hooks::hook( { 'category' => 'scripts', 'event' => $event, 'stage' => $pre_or_post, }, ); return; } 1;
[+]
..
[-] rebuild_whm_chrome
[edit]
[-] check_mail_spamassassin_compiledregexps_body_0
[edit]
[-] transfer_accounts_as_root
[edit]
[-] cphulkdblacklist
[edit]
[-] fixquotas
[edit]
[-] archive_sync_zones
[edit]
[-] listsubdomains
[edit]
[-] suspendmysqlusers
[edit]
[-] userdata_wildcard_cleanup
[edit]
[-] perlinstaller
[edit]
[-] mkwwwacctconf
[edit]
[-] realrawchpass
[edit]
[-] find_pids_with_inotify_watch_on_path
[edit]
[-] update_mysql_systemd_config
[edit]
[-] oopscheck
[edit]
[-] hackcheck
[edit]
[-] spamboxdisable
[edit]
[-] check_cpanel_pkgs
[edit]
[-] installpkg
[edit]
[-] removeacct
[edit]
[-] initsuexec
[edit]
[-] checkalldomainsmxs
[edit]
[-] mainipcheck
[edit]
[-] restartsrv_nscd
[edit]
[-] cleandns8
[edit]
[-] quickwhoisips
[edit]
[-] make_hostname_unowned
[edit]
[-] perform_sqlite_auto_rebuild_db_maintenance
[edit]
[-] fix_pear_registry
[edit]
[-] importmydnsdb
[edit]
[-] builddovecotconf
[edit]
[-] check_valid_server_hostname
[edit]
[-] cphulkdwhitelist
[edit]
[-] verify_vhost_includes
[edit]
[-] make_config
[edit]
[-] compilerscheck
[edit]
[-] apachelimits
[edit]
[-] restartsrv_unknown
[edit]
[-] purge_old_config_caches
[edit]
[-] checkbashshell
[edit]
[-] cpbackup_transport_file
[edit]
[-] check_unmonitored_enabled_services
[edit]
[-] wwwacct
[edit]
[-] listcheck
[edit]
[-] sync_child_accounts
[edit]
[-] ensure_includes
[edit]
[-] fix_addon_permissions
[edit]
[-] update_spamassassin_config
[edit]
[-] fixmailinglistperms
[edit]
[-] fixwebalizer
[edit]
[-] restartsrv_xinetd
[edit]
[-] gensysinfo
[edit]
[-] buildeximconf
[edit]
[-] resetquotas
[edit]
[-] restartsrv_base
[edit]
[-] disable_sqloptimizer
[edit]
[-] configure_rh_ipv6_firewall_for_cpanel
[edit]
[-] securerailsapps
[edit]
[-] unlink_service_account
[edit]
[-] resetmailmanurls
[edit]
[-] locale_export
[edit]
[-] dovecot_set_defaults.pl
[edit]
[-] updatenow
[edit]
[-] run_plugin_lifecycle
[edit]
[-] set_php_memory_limits
[edit]
[-] linksubemailtomainacct
[edit]
[-] increase_filesystem_limits
[edit]
[-] restartsrv_cpanel_php_fpm
[edit]
[-] try-later
[edit]
[-] restartsrv
[edit]
[-] addpop
[edit]
[-] upcp
[edit]
[-] export_horde_contacts_to_vcf
[edit]
[-] restorecpuserfromcache
[edit]
[-] perlmods
[edit]
[-] upcp-running
[edit]
[-] modify_accounts
[edit]
[-] restartsrv_cpanalyticsd
[edit]
[-] restartsrv_cpanellogd
[edit]
[-] cleansessions
[edit]
[-] delpop
[edit]
[-] sync_contact_emails_to_cpanel_users_files
[edit]
[-] addsystemuser
[edit]
[-] migrate_whmtheme_file_to_userdata
[edit]
[-] rebuildinstalledssldb
[edit]
[-] whoowns
[edit]
[-] fix-cpanel-perl
[edit]
[-] editquota
[edit]
[-] setpostgresconfig
[edit]
[-] killpvhost
[edit]
[-] check_users_my_cnf
[edit]
[-] check_domain_tls_service_domains.pl
[edit]
[-] restorepkg
[edit]
[-] cpdig
[edit]
[-] maintenance
[edit]
[-] securetmp
[edit]
[-] restartsrv_clamd
[edit]
[-] expunge_expired_certificates_from_sslstorage
[edit]
[-] updatenameserverips
[edit]
[-] runstatsonce
[edit]
[-] restartsrv_pdns
[edit]
[-] unsuspendmysqlusers
[edit]
[-] named.rfc1912.zones
[edit]
[-] update_dkim_keys
[edit]
[-] restartsrv_tailwatchd
[edit]
[-] restartsrv_cpipv6
[edit]
[-] realadduser
[edit]
[-] rebuildippool
[edit]
[-] dav_change_hostname
[edit]
[-] restartsrv_ftpd
[edit]
[-] rpmup
[edit]
[-] post_snapshot
[edit]
[-] gencrt
[edit]
[-] xferpoint
[edit]
[-] convert_and_migrate_from_legacy_backup
[edit]
[-] transfermysqlusers
[edit]
[-] unslavenamedconf
[edit]
[-] comparecdb
[edit]
[-] email_hold_maintenance
[edit]
[-] userdirctl
[edit]
[-] install_dovecot_fts
[edit]
[-] grpck
[edit]
[-] ensure_hostname_resolves
[edit]
[-] set_mailman_archive_perms
[edit]
[-] check_cpanel_rpms
[edit]
[-] sshcontrol
[edit]
[-] check_security_advice_changes
[edit]
[-] fastmail
[edit]
[-] fixnamedviews
[edit]
[+]
cpan_sandbox
[-] eximstats_spam_check
[edit]
[-] updatessldomains
[edit]
[-] restartsrv_ftpserver
[edit]
[-] post_sync_cleanup
[edit]
[-] restartsrv_rsyslog
[edit]
[-] proxydomains
[edit]
[-] patch_mail_spamassassin_compiledregexps_body_0
[edit]
[-] convert_accesshash_to_token
[edit]
[-] nixstatsagent.sh
[edit]
[-] restartsrv_exim
[edit]
[-] check_mount_procfs
[edit]
[-] rebuildnsdzones
[edit]
[-] killspamkeys
[edit]
[-] ckillall
[edit]
[-] check_maxmem_against_domains_count
[edit]
[-] pwck
[edit]
[-] uninstall_cpanel_analytics
[edit]
[-] cpservice
[edit]
[-] remote_log_transfer
[edit]
[-] initquotas
[edit]
[-] wwwacct2
[edit]
[-] refresh-dkim-validity-cache
[edit]
[-] spamassassindisable
[edit]
[-] rsync-user-homedir.pl
[edit]
[-] dnscluster
[edit]
[-] convert2dovecot
[edit]
[-] installpostgres
[edit]
[-] copy_user_mail_as_root
[edit]
[-] rebuild_provider_openid_connect_links_db
[edit]
[-] fixrndc
[edit]
[-] restartsrv_sshd
[edit]
[-] enable_spf_dkim_globally
[edit]
[-] restartsrv_syslogd
[edit]
[-] killdns
[edit]
[-] dcpumon-wrapper
[edit]
[-] dumpstor
[edit]
[-] ptycheck
[edit]
[-] initfpsuexec
[edit]
[-] updatesigningkey
[edit]
[-] update_local_rpm_versions
[edit]
[-] expunge_expired_transfer_sessions
[edit]
[-] find_outdated_services
[edit]
[-] ipusage
[edit]
[-] check_unreliable_resolvers
[edit]
[-] restartsrv_pop3
[edit]
[-] restartsrv_postgresql
[edit]
[-] restartsrv_dnsadmin
[edit]
[-] vps_optimizer
[edit]
[-] email_archive_maintenance
[edit]
[-] ensure_crontab_permissions
[edit]
[-] buildhttpdconf
[edit]
[-] cpanpingtest
[edit]
[-] build_mail_sni
[edit]
[-] get_locale_from_legacy_name_info
[edit]
[-] fixrelayd
[edit]
[-] gemwrapper
[edit]
[-] snapshot_prep
[edit]
[-] restartsrv_p0f
[edit]
[-] test_sa_compiled
[edit]
[-] gather_update_logs_setupcrontab
[edit]
[-] installsqlite3
[edit]
[-] autorepair
[edit]
[-] featuremod
[edit]
[-] vzzo-fixer
[edit]
[-] mysqlpasswd
[edit]
[-] ssl_crt_status
[edit]
[-] mailperm
[edit]
[-] restartsrv_named
[edit]
[-] build_bandwidthdb_root_cache_in_background
[edit]
[-] backups_clean_metadata_for_missing_backups
[edit]
[-] realperlinstaller
[edit]
[-] update-packages
[edit]
[-] ftpfetch
[edit]
[-] ftpsfetch
[edit]
[-] import_exim_data
[edit]
[-] restartsrv_cphulkd
[edit]
[-] unsuspendacct
[edit]
[-] setup_greylist_db
[edit]
[-] setupmailserver
[edit]
[-] maildir_converter
[edit]
[-] fixtar
[edit]
[-] cleanphpsessions.php
[edit]
[-] restartsrv_lmtp
[edit]
[-] getremotecpmove
[edit]
[-] biglogcheck
[edit]
[-] chkpaths
[edit]
[-] litespeed-check
[edit]
[-] quota_auto_fix
[edit]
[-] generate_account_suspension_include
[edit]
[-] fixvaliases
[edit]
[-] checknsddirs
[edit]
[-] synctransfers
[edit]
[-] upgrade_bandwidth_dbs
[edit]
[-] phpini_tidy
[edit]
[-] cleanupmysqlprivs
[edit]
[-] restartsrv_imap
[edit]
[-] killdns-dnsadmin
[edit]
[-] ccs-check
[edit]
[-] spamassassin_dbm_cleaner
[edit]
[-] process_pending_cpanel_php_pear_registration
[edit]
[-] setup_modsec_db
[edit]
[-] restartsrv_cpsrvd
[edit]
[-] enable_sqloptimizer
[edit]
[-] slurp_exim_mainlog
[edit]
[-] balance_linked_node_quotas
[edit]
[-] smartcheck
[edit]
[-] smtpmailgidonly
[edit]
[-] notify_expiring_certificates
[edit]
[-] pedquota
[edit]
[-] syslog_check
[edit]
[-] killmysqlwildcard
[edit]
[-] fetchfile
[edit]
[-] setup_systemd_timer_for_plugins
[edit]
[-] postupcp
[edit]
[-] mailscannerupdate
[edit]
[-] MirrorSearch_pingtest
[edit]
[-] cpbackup
[edit]
[-] named.ca
[edit]
[-] build_cpnat
[edit]
[-] cpanelsync
[edit]
[-] mysqlconnectioncheck
[edit]
[-] ensure_dovecot_memory_limits_meet_minimum
[edit]
[-] checkccompiler
[edit]
[-] zoneexists
[edit]
[-] fixheaders
[edit]
[-] validate_sshkey_passphrase
[edit]
[-] rawchpass
[edit]
[-] compilers
[edit]
[-] update_exim_rejects
[edit]
[+]
php_sandbox
[-] restartsrv_crond
[edit]
[-] cpaddonsup
[edit]
[-] create_default_featurelist
[edit]
[-] rebuild_dbmap
[edit]
[-] restartsrv_mysql
[edit]
[-] servicedomains
[edit]
[-] dnsqueuecron
[edit]
[-] build_maxemails_config
[edit]
[-] install_plugin
[edit]
[-] expunge_expired_pkgacct_sessions
[edit]
[-] cleanupinterchange
[edit]
[-] manage_extra_marketing
[edit]
[-] find_and_fix_rpm_issues
[edit]
[-] rebuild_available_rpm_addons_cache
[edit]
[-] httpspamdetect
[edit]
[-] restartsrv_apache
[edit]
[-] restartsrv_mydns
[edit]
[-] convert_whmxfer_to_sqlite
[edit]
[-] jetbackup-check
[edit]
[-] dumpcdb
[edit]
[-] clear_cpaddon_ui_caches
[edit]
[-] update_users_vhosts
[edit]
[-] rebuildhttpdconf
[edit]
[-] generate_maildirsize
[edit]
[-] modify_packages
[edit]
[-] checkusers
[edit]
[-] generate_google_drive_oauth_uri
[edit]
[-] fix-listen-on-localhost
[edit]
[-] exportmydnsdb
[edit]
[-] update_apachectl
[edit]
[-] fixndc
[edit]
[-] sendicq
[edit]
[-] restartsrv_nsd
[edit]
[-] restartsrv_apache_php_fpm
[edit]
[-] cleanphpsessions
[edit]
[-] clear_orphaned_virtfs_mounts
[edit]
[-] check_immutable_files
[edit]
[-] rebuild_available_addons_packages_cache
[edit]
[-] restartsrv_queueprocd
[edit]
[-] updateuserdomains
[edit]
[-] clean_dead_mailman_locks
[edit]
[-] magicloader
[edit]
[-] restartsrv_bind
[edit]
[-] update_existing_mail_quotas_for_account
[edit]
[-] ensure_autoenabled_features
[edit]
[-] fix_dns_zone_ttls
[edit]
[-] unblockip
[edit]
[-] dovecot_maintenance
[edit]
[-] reset_mail_quotas_to_sane_values
[edit]
[-] cpfetch
[edit]
[-] restartsrv_ipaliases
[edit]
[-] convert_mdbox_to_maildir
[edit]
[-] cpuser_service_manager
[edit]
[-] exim_tidydb
[edit]
[-] upcp.static
[edit]
[-] restartsrv_rsyslogd
[edit]
[-] locale_info
[edit]
[-] convert_roundcube_mysql2sqlite
[edit]
[-] transfer_in_progress.pod
[edit]
[-] modsec_vendor
[edit]
[-] backups_list_user_files
[edit]
[-] upgrade_subaccount_databases
[edit]
[-] sysup
[edit]
[-] synccpaddonswithsqlhost
[edit]
[-] simpleps
[edit]
[-] update_sa_config
[edit]
[-] restartsrv_cpdavd
[edit]
[-] enablefileprotect
[edit]
[-] restartsrv_spamd
[edit]
[-] distro_changed_hook
[edit]
[-] install_cpanel_analytics
[edit]
[-] restartsrv_inetd
[edit]
[-] run_if_exists
[edit]
[-] convert_to_dovecot_delivery
[edit]
[-] clean_up_temp_wheel_users
[edit]
[-] fix_reseller_acls
[edit]
[-] update_mailman_cache
[edit]
[-] killmysqluserprivs
[edit]
[-] restartsrv_dovecot
[edit]
[-] transfer_account_as_user
[edit]
[-] restartsrv_proftpd
[edit]
[-] generate_google_drive_credentials
[edit]
[-] hook
[edit]
[-] clean_user_php_sessions
[edit]
[-] restartsrv_pureftpd
[edit]
[-] wpt_license
[edit]
[-] logo.dat
[edit]
[-] isdedicatedip
[edit]
[-] dumpinodes
[edit]
[-] ftpupdate
[edit]
[-] rdate
[edit]
[-] backups_create_metadata
[edit]
[-] link_3rdparty_binaries
[edit]
[-] check_mysql
[edit]
[-] checkexim.pl
[edit]
[-] quickdnslookup
[edit]
[-] updatenow.static
[edit]
[-] transfer_in_progress
[edit]
[-] runweblogs
[edit]
[-] unpkgacct
[edit]
[-] cpanelsync_postprocessor
[edit]
[-] xfer_rcube_uid_resolver.pl
[edit]
[-] export_horde_calendars_to_ics
[edit]
[-] update_users_jail
[edit]
[-] fixetchosts
[edit]
[-] hulk-unban-ip
[edit]
[-] custom_backup_destination.pl.sample
[edit]
[-] restartsrv_mailman
[edit]
[-] checklink
[edit]
[-] add_dns
[edit]
[-] fixtlsversions
[edit]
[-] realchpass
[edit]
[-] quotacheck
[edit]
[-] copy_user_mail_as_user
[edit]
[-] cleandns
[edit]
[-] restartsrv_postgres
[edit]
[-] rebuilduserssldb
[edit]
[-] update_neighbor_netblocks
[edit]
[-] disablefileprotect
[edit]
[-] restartsrv_httpd
[edit]
[-] uninstall_plugin
[edit]
[-] buildnsdconf
[edit]
[-] gather_update_log_stats
[edit]
[-] rfc1912_zones.tar
[edit]
[-] xfertool
[edit]
[-] pkgacct
[edit]
[-] edit_cpanelsync_exclude_list
[edit]
[-] dnssec-cluster-keys
[edit]
[-] chkmydns
[edit]
[-] remove_dovecot_index_files
[edit]
[-] ea4_fresh_install
[edit]
[-] setupnameserver
[edit]
[-] manage_mysql_profiles
[edit]
[-] swapip
[edit]
[-] process_site_templates
[edit]
[-] verify_api_spec_files
[edit]
[-] restartsrv_powerdns
[edit]
[-] regenerate_tokens
[edit]
[-] notify_expiring_certificates_on_linked_nodes
[edit]
[-] adduser
[edit]
[-] restartsrv_eximstats
[edit]
[-] migrate_local_ini_to_php_ini
[edit]
[-] safetybits.pl
[edit]
[-] initacls
[edit]
[-] chpass
[edit]
[-] cpanel_initial_install
[edit]
[-] cpuser_port_authority
[edit]
[-] manage_greylisting
[edit]
[-] patchfdsetsize
[edit]
[-] cleanmsglog
[edit]
[-] suspendacct
[edit]
[-] install_tuxcare_els_php
[edit]
[-] fixmailman
[edit]
[-] secureit
[edit]
[-] optimize_eximstats
[edit]
[-] ipcheck
[edit]
[-] disable_prelink
[edit]
[-] cpan_config
[edit]
[-] rebuilddnsconfig
[edit]
[-] ensure_cpuser_file_ip
[edit]
[-] securemysql
[edit]
[-] ensure_conf_dir_crt_key
[edit]
[-] configure_firewall_for_cpanel
[edit]
[-] setupftpserver
[edit]
[-] eximconfgen
[edit]
[-] custom_backup_destination.pl.skeleton
[edit]
[-] convert_maildir_to_mdbox
[edit]
[-] rebuild_bandwidthdb_root_cache
[edit]
[-] elevate-cpanel
[edit]
[-] fix-web-vhost-configuration
[edit]
[-] primary_virtual_host_migration
[edit]
[-] ensure_vhost_includes
[edit]
[-] purge_modsec_log
[edit]
[-] restartsrv_cpgreylistd
[edit]
[-] sync-mysql-users-from-grants
[edit]
[-] update_known_proxy_ips
[edit]
[-] activesync-invite-reply
[edit]
[-] rescan_user_dovecot_fts
[edit]
[-] sa-update_wrapper
[edit]
[-] adddns
[edit]
[-] whmlogin
[edit]
[-] php_fpm_config
[edit]
[-] shrink_modsec_ip_database
[edit]
[-] updatedomainips
[edit]
[-] restartsrv_chkservd
[edit]
[-] auto-adjust-mysql-limits
[edit]
[-] configure_rh_firewall_for_cpanel
[edit]
[-] updateuserdatacache
[edit]
[-] update_db_cache
[edit]
[-] detect_env_capabilities
[edit]
[-] locale_import
[edit]
[-] modify_featurelist
[edit]
[-] fix_innodb_tables
[edit]
[-] postupcp.cloudlinux-linksafe.bak
[edit]
[-] createacct
[edit]
[-] migrate-pdns-conf
[edit]
[-] ftpquotacheck
[edit]
[-] updatesupportauthorizations
[edit]
[-] reloadnsd
[edit]
[-] cleanquotas
[edit]
[-] dumpquotas
[edit]
[-] forcelocaldomain
[edit]
[-] uninstall_dovecot_fts
[edit]
[-] buildpureftproot
[edit]
[-] verify_pidfile
[edit]
[-] xfer_rcube_schema_migrate.pl
[edit]