From 96d3ab78766aef646879f05175227cc59d19aac7 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Jun 2015 15:37:02 +0200 Subject: Oups --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script.sh') diff --git a/script.sh b/script.sh index ce01467..63e1202 100755 --- a/script.sh +++ b/script.sh @@ -5,6 +5,6 @@ mkdir -p "$MOUNT_PATH" while read name do sudo mount -t ext4 -oloop,ro,noload "$name" "$MOUNT_PATH" - find -P -O3 -iname '*.ph*' -type f -size -5M -print0 -exec ./yara -r malwares.yara -f -s {}\; + find -P -O3 "$MOUNT_PATH" -iname '*.ph*' -type f -size -5M -print0 -exec ./yara -r malwares.yara -f -s {} \; sudo umount "$MOUNT_PATH" || exit 1 done -- cgit v1.3