From 00e7d2438879ea9d25a1ca5784de2bbd82497e46 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 6 Aug 2020 14:12:36 +0000 Subject: [PATCH] add AbuseAtCBL to dnsbl module --- modules/dnsbl/lists.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/dnsbl/lists.py b/modules/dnsbl/lists.py index ce2b6404..e3bab34a 100644 --- a/modules/dnsbl/lists.py +++ b/modules/dnsbl/lists.py @@ -40,10 +40,18 @@ class DroneBL(DNSBL): elif result in ["12", "13", "15", "16"]: return "exploits" +class AbuseAtCBL(DNSBL): + hostname = "cbl.abuseat.org" + def process(self, result): + result = result.rsplit(".", 1)[1] + if result == "2": + return "abuse" + DEFAULT_LISTS = [ ZenSpamhaus(), EFNetRBL(), - DroneBL() + DroneBL(), + AbuseAtCBL() ] def default_lists():