SHELL BYPASS 403 |
Modern UI. Responsive. Powerful.

Faizzz-Chin Shell

: /etc/cron.daily/ [ drwxr-xr-x ]
Uname\Kernel: Linux server.kxo.bgz.mybluehostin.me 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Server: Apache
PHP Version: 8.2.28 [ PHP INFO ]
Operating System: Linux
Server Ip: 162.240.163.222
Your Ip: 216.73.216.114
Date Time: 2025-07-10 12:19:54
User: dilseshaadi (1027) | Group: dilseshaadi (1027)
Safe Mode: OFF
Disable Function: exec,passthru,shell_exec,system

name : imunify-antivirus.cron
#!/bin/bash
#
# imunify-antivirus daily cron jobs.
#
# Usage:
#   ./imunify-antivirus.cron [<logfile>]
#
# if logfile is not specified, the output will be discarded
# If imunify360-firewall is installed, doing nothing
log=${1:-/dev/null}

main()
{
    /usr/libexec/report-command-error /opt/imunify360/venv/bin/python3 /opt/imunify360/venv/share/imunify360/scripts/delay_on_cron_call.py

    echo "Checking if imunify360-firewall is installed"
    if rpm -qi imunify360-firewall; then
        echo "Imunify360-installed, skipping antivirus cron"
        exit 0
    fi

    echo "Starting daily imunify-antivirus cron jobs at $(date)"
    /usr/bin/imunify360-agent check-domains

    PACKAGES="imunify-antivirus \
              ai-bolit \
              alt-php-hyperscan \
              imunify-common \
              imunify-notifier \
              imunify-core \
              imunify-realtime-av \
              imunify-ui \
              imunify360-venv \
              minidaemon \
              alt-php-internal \
              app-version-detector"

    /usr/libexec/report-command-error /usr/bin/yum update --assumeyes $PACKAGES
    # do not try to update the package if it is not installed
    echo "Checking if imunify-patchman is installed"
    if rpm -qi imunify-patchman; then
        # do not update obsoleted packages by default
        /usr/libexec/report-command-error /usr/bin/yum update --setopt=obsoletes=0 --assumeyes imunify-patchman
    fi

    /usr/bin/imunify-antivirus version
    echo "Finished daily imunify-antivirus cron jobs at $(date)"
}

main >> "$log" 2>&1
© 2025 Faizzz-Chin