mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
typos
This commit is contained in:
@@ -7,7 +7,7 @@ class Racent(Query):
|
|||||||
Query.__init__(self)
|
Query.__init__(self)
|
||||||
self.domain = domain
|
self.domain = domain
|
||||||
self.module = 'Certificate'
|
self.module = 'Certificate'
|
||||||
self.source = 'Racent'
|
self.source = 'RacentQuery'
|
||||||
self.addr = 'https://face.racent.com/tool/query_ctlog'
|
self.addr = 'https://face.racent.com/tool/query_ctlog'
|
||||||
self.api = settings.racent_api_token
|
self.api = settings.racent_api_token
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,7 @@ class Dnsgrep(Query):
|
|||||||
Query.__init__(self)
|
Query.__init__(self)
|
||||||
self.domain = domain
|
self.domain = domain
|
||||||
self.module = 'Dataset'
|
self.module = 'Dataset'
|
||||||
self.source = 'Dnsgrep'
|
self.source = 'DnsgrepQuery'
|
||||||
self.addr = 'https://www.dnsgrep.cn/subdomain/{domain}'
|
|
||||||
|
|
||||||
def query(self):
|
def query(self):
|
||||||
"""
|
"""
|
||||||
@@ -15,8 +14,8 @@ class Dnsgrep(Query):
|
|||||||
"""
|
"""
|
||||||
self.header = self.get_header()
|
self.header = self.get_header()
|
||||||
self.proxy = self.get_proxy(self.source)
|
self.proxy = self.get_proxy(self.source)
|
||||||
self.addr = self.addr.format(domain=self.domain)
|
url = 'https://www.dnsgrep.cn/subdomain/' + self.domain
|
||||||
resp = self.get(self.addr)
|
resp = self.get(url)
|
||||||
self.subdomains = self.collect_subdomains(resp)
|
self.subdomains = self.collect_subdomains(resp)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user