Skip to content

Commit

Permalink
Fixes #149, removes download_hashes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
3c7 authored Jan 11, 2018
2 parents 6f36eb4 + 54a7be7 commit 55af297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 70 deletions.
68 changes: 0 additions & 68 deletions analyzers/Virusshare/download_hashes.py

This file was deleted.

4 changes: 2 additions & 2 deletions analyzers/Virusshare/getHashes.sh
100644 → 100755
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 -E "hashes\/VirusShare_[0-9]{5}\.md5" | cut -d\" -f2`
do
echo $u
wget https://virusshare.com/$u
Expand Down

0 comments on commit 55af297

Please sign in to comment.