From d9c12ef9c31fa2114d5f27f7543ebed4fb3fe20d Mon Sep 17 00:00:00 2001 From: shmilylty Date: Tue, 6 Aug 2019 12:07:02 +0800 Subject: [PATCH] =?UTF-8?q?deal=5Fresults=E5=87=BD=E6=95=B0=E9=87=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=93=8D=E5=BA=94=E7=BB=93=E6=9E=9C=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/aiobrute.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oneforall/aiobrute.py b/oneforall/aiobrute.py index 28d350c..3f09737 100644 --- a/oneforall/aiobrute.py +++ b/oneforall/aiobrute.py @@ -198,6 +198,8 @@ class AIOBrute(Module): continue if isinstance(result, tuple): subdomain, answers = result + if not answers: + continue ips = {record.host for record in answers} value = self.ips_times.setdefault(str(ips), 0) # 取值 如果是首次出现的IP集合 出现次数先赋值0 self.ips_times[str(ips)] = value + 1