From 5aae215bca380ebeb2eafe51720889344799e673 Mon Sep 17 00:00:00 2001 From: shmilylty Date: Tue, 22 Nov 2022 15:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E7=8B=AC=E8=AE=BE=E7=BD=AE=E8=B6=85?= =?UTF-8?q?=E6=97=B690=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/certificates/crtsh.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/certificates/crtsh.py b/modules/certificates/crtsh.py index ee6918e..89b5118 100644 --- a/modules/certificates/crtsh.py +++ b/modules/certificates/crtsh.py @@ -15,6 +15,7 @@ class Crtsh(Query): """ self.header = self.get_header() self.proxy = self.get_proxy(self.source) + self.timeout = 90 params = {'q': f'%.{self.domain}', 'output': 'json'} resp = self.get(self.addr, params) if not resp: @@ -46,4 +47,4 @@ def run(domain): if __name__ == '__main__': - run('example.com') + run('huawei.com')