From bd62d62392e85d200fb5972c750249681147994e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 2 May 2022 13:57:37 +0200 Subject: [PATCH] chg: Add timeout for FOX module --- lookyloo/modules/fox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookyloo/modules/fox.py b/lookyloo/modules/fox.py index 27c30498..6a56267c 100644 --- a/lookyloo/modules/fox.py +++ b/lookyloo/modules/fox.py @@ -51,7 +51,7 @@ class FOX(): url = f'http://{url}' data = {'url': url} - response = self.client.post('https://ingestion.collaboration.cyber.gc.ca/v1/url', json=data) + response = self.client.post('https://ingestion.collaboration.cyber.gc.ca/v1/url', json=data, timeout=1) response.raise_for_status() return True