add AbuseAtCBL to dnsbl module

This commit is contained in:
jesopo 2020-08-06 14:12:36 +00:00
parent c8ff426128
commit 00e7d24388

View file

@ -40,10 +40,18 @@ class DroneBL(DNSBL):
elif result in ["12", "13", "15", "16"]: elif result in ["12", "13", "15", "16"]:
return "exploits" 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 = [ DEFAULT_LISTS = [
ZenSpamhaus(), ZenSpamhaus(),
EFNetRBL(), EFNetRBL(),
DroneBL() DroneBL(),
AbuseAtCBL()
] ]
def default_lists(): def default_lists():