Skip to content

Commit

Permalink
Fixes TheHive-Project#149: VirusShare download script
Browse files Browse the repository at this point in the history
  • Loading branch information
3c7 committed Dec 13, 2017
1 parent 388e635 commit 28f4e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/Virusshare/getHashes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


display_usage() {
echo "getHashes v0.1"
echo "getHashes v0.2"
echo " Fetch all Virusshare.com hashes"
echo -e "\n Usage: $0 <path> \n"
}
Expand All @@ -21,7 +21,7 @@ if [ ! -d $1 ]; then
fi

cd $1
for u in `curl https://virusshare.com/hashes.4n6|grep hashes/|cut -d\" -f2`
for u in `curl https://virusshare.com/hashes.4n6\ | grep hashes/VirusShare_ | cut -d\" -f2`
do
echo $u
wget https://virusshare.com/$u
Expand Down

0 comments on commit 28f4e97

Please sign in to comment.