diff --git a/modules/certificates/crtsh.py b/modules/certificates/crtsh.py index 90b61e4..ba555ac 100644 --- a/modules/certificates/crtsh.py +++ b/modules/certificates/crtsh.py @@ -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):