From d41bc9ab7a4233ba835ee694b6cafd03aafa972e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leonard?= Date: Thu, 5 Dec 2019 10:11:38 +0100 Subject: [PATCH 1/3] update Changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f33a8dddf..0b90f3584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [2.3.0](https://github.com/TheHive-Project/Cortex-Analyzers/tree/2.3.0) (2019-11-28) +## [2.3.0](https://github.com/TheHive-Project/Cortex-Analyzers/tree/2.3.0) (2019-12-05) [Full Changelog](https://github.com/TheHive-Project/Cortex-Analyzers/compare/2.2.0...2.3.0) From d53a65c90b563c27b084043c1f624a6dbe0f9e93 Mon Sep 17 00:00:00 2001 From: To-om Date: Fri, 6 Dec 2019 12:14:48 +0100 Subject: [PATCH 2/3] #565 JoeSandbox: accept TAC --- analyzers/JoeSandbox/joesandbox_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/JoeSandbox/joesandbox_analyzer.py b/analyzers/JoeSandbox/joesandbox_analyzer.py index 4747c8b6e..6da866a6c 100755 --- a/analyzers/JoeSandbox/joesandbox_analyzer.py +++ b/analyzers/JoeSandbox/joesandbox_analyzer.py @@ -25,7 +25,7 @@ def __init__(self): ) self.analysistimeout = self.get_param("config.analysistimeout", 30 * 60, None) self.networktimeout = self.get_param("config.networktimeout", 30, None) - self.joe = JoeSandbox(apikey, self.url, verify_ssl=False) + self.joe = JoeSandbox(apikey, self.url, verify_ssl=False, accept_tac=True) def summary(self, raw): taxonomies = [] From bf794c7e26761ba7deafc5572abec7cf2761e50d Mon Sep 17 00:00:00 2001 From: iwitz Date: Mon, 9 Dec 2019 11:47:42 +0100 Subject: [PATCH 3/3] fix: OTXQuery Python3 compatibility --- analyzers/OTXQuery/otxquery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/OTXQuery/otxquery.py b/analyzers/OTXQuery/otxquery.py index 9b7161f98..6984e8749 100755 --- a/analyzers/OTXQuery/otxquery.py +++ b/analyzers/OTXQuery/otxquery.py @@ -134,7 +134,7 @@ def otx_query_file(self, data): def otx_query_url(self, data): # urlencode the URL that we are searching for - data = urllib.quote_plus(data) + data = urllib.parse.quote_plus(data) baseurl = "https://otx.alienvault.com:443/api/v1/indicators/url/%s/" % data headers = self._get_headers() sections = ['general', 'url_list']