Sha256: b495a6a2a3e344c0b6e0ced63013b5cb162e0f85de659abc50184542f7bdc32d

Contents?: true

Size: 449 Bytes

Versions: 44

Compression:

Stored size: 449 Bytes

Contents

#!/bin/sh
#
# A default scan wrapper for maldetect. Scans every local-looking filesystem.

for fs in `cat /etc/mtab | egrep -v ' (ext2|ext3|ext4) ' | cut -d' ' -f2`;do
	if ! grep "^$fs$" /usr/local/maldetect/ignore_paths;then
		echo "$fs" >> /usr/local/maldetect/ignore_paths
	fi
done

if ( ps auxww | grep -v grep | grep maldet );then
	echo "Not running maldet scan, a previous scan was already running"
	exit 1
fi
/usr/local/maldetect/maldet -a /

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
cloud-mu-3.1.1 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-3.1.0 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-3.0.2 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-3.0.1 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-3.0.0 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-3.0.0beta cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.4 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.1.0beta cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.3 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.2 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.1 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.beta3 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.beta2 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.beta1 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.alpha9 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.alpha8 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.alpha7 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.alpha6 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.alpha5 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb
cloud-mu-2.0.0.pre.alpha4 cookbooks/mu-tools/templates/default/maldet_scanall.sh.erb