aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dnsbl/lists.py10
1 files changed, 9 insertions, 1 deletions
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():