diff options
| author | jvoisin | 2015-06-30 15:37:02 +0200 |
|---|---|---|
| committer | jvoisin | 2015-06-30 15:37:02 +0200 |
| commit | 96d3ab78766aef646879f05175227cc59d19aac7 (patch) | |
| tree | 6aa77524f2a80d976c3449cadd6c9e9654325eb0 /script.sh | |
| parent | c2797613ef8a31d23381229cb0cdecc1f0a17f4d (diff) | |
Oups
Diffstat (limited to 'script.sh')
| -rwxr-xr-x | script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -5,6 +5,6 @@ mkdir -p "$MOUNT_PATH" | |||
| 5 | while read name | 5 | while read name |
| 6 | do | 6 | do |
| 7 | sudo mount -t ext4 -oloop,ro,noload "$name" "$MOUNT_PATH" | 7 | sudo mount -t ext4 -oloop,ro,noload "$name" "$MOUNT_PATH" |
| 8 | find -P -O3 -iname '*.ph*' -type f -size -5M -print0 -exec ./yara -r malwares.yara -f -s {}\; | 8 | find -P -O3 "$MOUNT_PATH" -iname '*.ph*' -type f -size -5M -print0 -exec ./yara -r malwares.yara -f -s {} \; |
| 9 | sudo umount "$MOUNT_PATH" || exit 1 | 9 | sudo umount "$MOUNT_PATH" || exit 1 |
| 10 | done | 10 | done |
