From 4ead75cee7a2108c5f29bd99b78cbdb1f23bde4d Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 3 Jun 2015 03:28:36 +0000 Subject: [PATCH] Remove ahbl.org blacklists after site shutdown --- CHANGELOG | 3 +++ nselib/dnsbl.lua | 24 ------------------------ scripts/dns-blacklist.nse | 3 --- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index d039507a8..9cdb6daeb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o [NSE] Remove ahbl.org checks from dnsbl.lua, since the service was shut down. + [Forrest B.] + o Nmap now has an official bug tracker! We are using Github Issues, which you can reach from http://issues.nmap.org/. We welcome your bug reports, enhancement requests, and code submissions via the Issues and Pull Request diff --git a/nselib/dnsbl.lua b/nselib/dnsbl.lua index 8656607bf..c37f9a188 100644 --- a/nselib/dnsbl.lua +++ b/nselib/dnsbl.lua @@ -179,20 +179,6 @@ SERVICES = { end, }, - ["dnsbl.ahbl.org"] = { - new = service_new, - resp_parser = function(self, r) - local responses = { - ["127.0.0.4"] = "SPAM", - ["127.0.0.5"] = "SPAM", - ["127.0.0.6"] = "SPAM", - ["127.0.0.7"] = "SPAM", - ["127.0.0.8"] = "SPAM", - } - return ( r[1] and responses[r[1]] ) and { state = responses[r[1]] } - end, - }, - ["l2.apews.org"] = { new = service_new, resp_parser = function(self, r) @@ -311,16 +297,6 @@ SERVICES = { end, }, - ["dnsbl.ahbl.org"] = { - new = service_new, - resp_parser = function(self, r) - local responses = { - ["127.0.0.3"] = "PROXY", - } - return ( r[1] and responses[r[1]] ) and { state = responses[r[1]] } - end, - }, - ["http.dnsbl.sorbs.net"] = { new = service_new, resp_parser = function(self, r) diff --git a/scripts/dns-blacklist.nse b/scripts/dns-blacklist.nse index 420a659ac..4ce4c359b 100644 --- a/scripts/dns-blacklist.nse +++ b/scripts/dns-blacklist.nse @@ -19,7 +19,6 @@ PROXY) or to a specific service name. ]] -- | dns-blacklist: -- | 1.2.3.4 -- | PROXY --- | dnsbl.ahbl.org - PROXY -- | dnsbl.tornevall.org - PROXY -- | IP marked as "abusive host". -- | Proxy is working @@ -35,13 +34,11 @@ PROXY) or to a specific service name. ]] -- Supported blacklist list mode (--script-args dns-blacklist.list): -- | dns-blacklist: -- | PROXY --- | dnsbl.ahbl.org -- | socks.dnsbl.sorbs.net -- | http.dnsbl.sorbs.net -- | misc.dnsbl.sorbs.net -- | dnsbl.tornevall.org -- | SPAM --- | dnsbl.ahbl.org -- | dnsbl.inps.de -- | bl.nszones.com -- | l2.apews.org