Mini Shell

Direktori : /usr/share/imunify360/scripts/
Upload File :
Current File : //usr/share/imunify360/scripts/modsec_scan.py

#!/usr/bin/bash
# FIXME: workaround for bug https://cloudlinux.atlassian.net/browse/DEF-2271

if grep -q 'enable_scan_modsec:\s*true' /etc/sysconfig/imunify360/imunify360-merged.config; then
    "/usr/share/imunify360/scripts/modsec_scan_real.py" "$@"
else
    echo "1 OK"
fi

Zerion Mini Shell 1.0