Revert "feat: remove threatview"

threatview.io is back up
This reverts commit 759b7d5cc1.
This commit is contained in:
Ming Di Leom 2025-12-18 06:57:09 +00:00
parent 759b7d5cc1
commit cb18b90966
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 7 additions and 3 deletions

View File

@ -23,6 +23,7 @@ A blocklist of malicious IPs compiled from these sources (discovered through [ba
- [Binary Defense](https://www.binarydefense.com/banlist.txt)
- [Proofpoint Emerging Threats](https://rules.emergingthreats.net/blockrules/compromised-ips.txt)
- [GreenSnow](https://blocklist.greensnow.co/greensnow.txt)
- [Threatview.io](https://threatview.io/Downloads/IP-High-Confidence-Feed.txt)
- [Myip.ms](https://myip.ms/files/blacklist/general/latest_blacklist.txt)
- [FireHOL](https://iplists.firehol.org/files/firehol_webclient.netset)
@ -174,6 +175,8 @@ https://gitlab.com/curben/blog#repository-mirrors
[GreenSnow](https://greensnow.co/)
[Threatview.io](https://threatview.io/)
[Myip.ms](https://myip.ms/files/blacklist/general/latest_blacklist.txt)
[FireHOL](https://iplists.firehol.org/files/firehol_webclient.netset)

View File

@ -65,16 +65,17 @@ curl "https://raw.githubusercontent.com/stamparm/ipsum/master/levels/3.txt" -o "
curl "https://www.binarydefense.com/banlist.txt" -o "binarydefense.txt" || [ $? = 1 ]
curl "https://rules.emergingthreats.net/blockrules/compromised-ips.txt" -o "et.txt" || [ $? = 1 ]
curl "https://blocklist.greensnow.co/greensnow.txt" -o "greensnow.txt" || [ $? = 1 ]
curl "https://threatview.io/Downloads/IP-High-Confidence-Feed.txt" -o "threatview.txt" || [ $? = 1 ]
# missing intermediate cert
curl "https://myip.ms/files/blacklist/general/latest_blacklist.txt" --cacert "../src/globalsign-sub.pem" -o "myip.txt" || [ $? = 1 ]
curl "https://iplists.firehol.org/files/firehol_webclient.netset" -o "firehol-web.txt" || [ $? = 1 ]
# ensure file exists
touch "feodo.txt" "ipsum-level3.txt" "binarydefense.txt" "et.txt" "greensnow.txt" "myip.txt" "firehol-web.txt"
touch "feodo.txt" "ipsum-level3.txt" "binarydefense.txt" "et.txt" "greensnow.txt" "threatview.txt" "myip.txt" "firehol-web.txt"
## Parse IPs
cat "feodo.txt" "ipsum-level3.txt" "binarydefense.txt" "et.txt" "greensnow.txt" "myip.txt" "firehol-web.txt" | \
cat "feodo.txt" "ipsum-level3.txt" "binarydefense.txt" "et.txt" "greensnow.txt" "threatview.txt" "myip.txt" "firehol-web.txt" | \
dos2unix | \
# Remove comment
sed "/^#/d" | \
@ -93,7 +94,7 @@ COMMENT_UBO="$COMMENT_UBO! Updated: $CURRENT_TIME\n"
COMMENT_UBO="$COMMENT_UBO! Expires: 12 hours (update frequency)\n"
COMMENT_UBO="$COMMENT_UBO! Homepage: https://gitlab.com/malware-filter/botnet-filter\n"
COMMENT_UBO="$COMMENT_UBO! License: https://gitlab.com/malware-filter/botnet-filter#license\n"
COMMENT_UBO="$COMMENT_UBO! Source: feodotracker.abuse.ch, stamparm/ipsum, binarydefense, Proofpoint emergingthreats, greensnow, myip.ms, firehol"
COMMENT_UBO="$COMMENT_UBO! Source: feodotracker.abuse.ch, stamparm/ipsum, binarydefense, Proofpoint emergingthreats, greensnow, threatview, myip.ms, firehol"
mkdir "../public/"