From dcd2a77d06b2f919b2d63ec2816ad426495f7ffa Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Sat, 29 Feb 2020 18:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AF=8F=E6=AC=A1=E7=94=9F?= =?UTF-8?q?=E6=88=90=E7=BB=93=E6=9E=9C=E9=83=BD=E6=98=AF=E7=9B=B8=E5=90=8C?= =?UTF-8?q?=E8=A1=A8=E5=90=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/oneforall.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/oneforall/oneforall.py b/oneforall/oneforall.py index e8856f6..db4590b 100644 --- a/oneforall/oneforall.py +++ b/oneforall/oneforall.py @@ -92,10 +92,10 @@ class OneForAll(object): self.domains = set() # 所有即将进行收集的主机 self.data = list() # 存放当前主域的子域结果 self.datas = list() # 存放所有主域的子域结果 - self.old_table = self.domain + '_old_result' # 存放上一次结果的表名 - self.new_table = self.domain + '_now_result' # 存放现在结果的表名 - self.origin_table = self.domain + '_origin_result' # 存放最初收集结果的表名 - self.resolve_table = self.domain + '_resolve_result' # 存放解析后的结果表名 + self.old_table = str() # 存放上一次结果的表名 + self.new_table = str() # 存放现在结果的表名 + self.origin_table = str() # 存放最初收集结果的表名 + self.resolve_table = str() # 存放解析后的结果表名 def config(self): """ @@ -167,6 +167,11 @@ class OneForAll(object): :return: 子域结果 :rtype: list """ + self.old_table = self.domain + '_old_result' + self.new_table = self.domain + '_now_result' + self.origin_table = self.domain + '_origin_result' + self.resolve_table = self.domain + '_resolve_result' + collect = Collect(self.domain, export=False) collect.run() if self.brute: