Script updates

Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
Tavi 2024-01-25 21:03:49 -05:00
parent f02e35523f
commit 2b16e589d2
No known key found for this signature in database
GPG key ID: E599F62ECBAEAF2E
2 changed files with 6 additions and 0 deletions

View file

@ -9,3 +9,5 @@ java -jar HypatiaDatabaseConverter-0.1__.jar raw/ >> production/index.html
echo "</pre>" >> 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

4
scripts/0threatview.sh Normal file
View file

@ -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