add AbuseAtCBL to dnsbl module
This commit is contained in:
parent
c8ff426128
commit
00e7d24388
1 changed files with 9 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue