%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/old/usr/sbin/
Upload File :
Create Path :
Current File : //data/old/usr/sbin/varnish_pre

#!/bin/bash

if /usr/sbin/varnishd -V 2>&1 | head -1 | grep -q 'varnish-4\.0\.'; then
        if [ -f /etc/varnish/vsv8_epel7_varnish405.vcl ]; then true
        else
		echo ""
                echo "WARNING: CVE-2022-23959 MITIGATION NOT FOUND!"
		echo "Upgrade to varnish-6.0 LTS or add mitigation"
                echo "See instructions in /usr/share/doc/varnish-4.0.5/vsv8_epel7_varnish405.vcl"
		echo ""
        fi
fi


Zerion Mini Shell 1.0