This commit is contained in:
Jing Ling
2020-07-14 18:56:27 +08:00
parent 37ee399af1
commit 6e18de8922
76 changed files with 183 additions and 172 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ class CheckRobots(Module):
"""
def __init__(self, domain):
Module.__init__(self)
self.domain = self.register(domain)
self.domain = self.get_maindomain(domain)
self.module = 'Check'
self.source = 'Robots'
@@ -30,7 +30,7 @@ class CheckRobots(Module):
if not resp:
return
if resp and len(resp.content):
self.subdomains = self.match_subdomains(self.domain, resp.text)
self.subdomains = self.match_subdomains(resp.text)
def run(self):
"""