From 1c13bfa26d4382855bed5c3e3073e4596c869e5f Mon Sep 17 00:00:00 2001 From: garanews Date: Wed, 24 Oct 2018 14:06:12 +0000 Subject: [PATCH] fix: cut: the delimiter must be a single character fix the script --- analyzers/Virusshare/getHashes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/Virusshare/getHashes.sh b/analyzers/Virusshare/getHashes.sh index c702bef2d..444f5ce90 100755 --- a/analyzers/Virusshare/getHashes.sh +++ b/analyzers/Virusshare/getHashes.sh @@ -22,7 +22,7 @@ fi cd $1 for u in `curl https://virusshare.com/hashes.4n6 | grep -E "VirusShare_[0-9]{5}\.md5" | c\ -ut -d -f2 | cut -d\/ -f2` +ut -d\" -f2 | cut -d\/ -f2` do echo $u if [ -e $1/$u ]; then