diff --git a/scripts/0genbloom.sh b/scripts/0genbloom.sh index 8302bf6..8e8dbd7 100644 --- a/scripts/0genbloom.sh +++ b/scripts/0genbloom.sh @@ -9,3 +9,5 @@ java -jar HypatiaDatabaseConverter-0.1__.jar raw/ >> production/index.html echo "" >> production/index.html cat extended.html >> production/index.html mv raw/hypatia-*-bloom.bin production/ + +sed -s 'N;/md5: 0, sha1: 0, sha256: 0/!P;D' -i production/index.html diff --git a/scripts/0threatview.sh b/scripts/0threatview.sh new file mode 100644 index 0000000..2e69755 --- /dev/null +++ b/scripts/0threatview.sh @@ -0,0 +1,4 @@ +rm -f raw/threatview.md5 +rm -f raw/threatview.sha1 +wget "https://threatview.io/Downloads/MD5-HASH-ALL.txt" -O - | sort -u > raw/threatview.md5 +wget "https://threatview.io/Downloads/SHA-HASH-FEED.txt" -O - | sort -u > raw/threatview.sha1