More goodies

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-12-19 17:11:15 -05:00
parent 3bd703d6b8
commit 6a5857d66b
No known key found for this signature in database
GPG key ID: B286E9F57A07424B

View file

@ -1,5 +1,5 @@
#!/bin/bash
#License: GPLv3
#Description: Hypatia conversion script for https://bazaar.abuse.ch/export/csv/full/ (CC0)
grep "\"apk\"" full.csv | awk '{ print $3 } ' | sed 's/^"//' | sed 's/",$/:0:MalwareBazaar/' > malware_bazaar.hsb;
grep -e "\"apk\"" -e "\"application/x-executable\"" -e "\"application/x-sharedlib\"" full.csv | awk '{ print $3 } ' | sed 's/^"//' | sed 's/",$/:0:MalwareBazaar/' | sort -u > malware_bazaar.hsb;
gzip *.hsb;