mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
修复查询结果中\n有导致多匹配问题#77
This commit is contained in:
@@ -20,7 +20,8 @@ class Crtsh(Query):
|
||||
resp = self.get(self.addr, params)
|
||||
if not resp:
|
||||
return
|
||||
subdomains = self.match_subdomains(self.domain, str(resp.json()))
|
||||
text = resp.text.replace(r'\n', ' ')
|
||||
subdomains = self.match_subdomains(self.domain, text)
|
||||
self.subdomains = self.subdomains.union(subdomains)
|
||||
|
||||
def run(self):
|
||||
|
||||
Reference in New Issue
Block a user