From b4f1a432082059805fc44ccc11afee561c33a1c7 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Fri, 26 May 2023 10:47:58 +0200 Subject: [PATCH] chg: [correlation] correlation graph: filter title objects --- bin/crawlers/Crawler.py | 3 ++- var/www/blueprints/correlation.py | 3 +++ var/www/templates/correlation/show_correlation.html | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/crawlers/Crawler.py b/bin/crawlers/Crawler.py index 4b499eb9..e8822561 100755 --- a/bin/crawlers/Crawler.py +++ b/bin/crawlers/Crawler.py @@ -61,7 +61,8 @@ class Crawler(AbstractModule): self.domain = None # TODO Replace with warning list ??? - self.placeholder_screenshots = {'27e14ace10b0f96acd2bd919aaa98a964597532c35b6409dff6cc8eec8214748'} + self.placeholder_screenshots = {'27e14ace10b0f96acd2bd919aaa98a964597532c35b6409dff6cc8eec8214748', + '3e66bf4cc250a68c10f8a30643d73e50e68bf1d4a38d4adc5bfc4659ca2974c0'} # 404 # Send module state to logs self.logger.info('Crawler initialized') diff --git a/var/www/blueprints/correlation.py b/var/www/blueprints/correlation.py index e0eed996..c3c9013a 100644 --- a/var/www/blueprints/correlation.py +++ b/var/www/blueprints/correlation.py @@ -95,6 +95,9 @@ def show_correlation(): correl_option = request.form.get('ItemCheck') if correl_option: filter_types.append('item') + correl_option = request.form.get('TitleCheck') + if correl_option: + filter_types.append('title') # list as params filter_types = ",".join(filter_types) diff --git a/var/www/templates/correlation/show_correlation.html b/var/www/templates/correlation/show_correlation.html index 1329e2a5..94a8efad 100644 --- a/var/www/templates/correlation/show_correlation.html +++ b/var/www/templates/correlation/show_correlation.html @@ -206,6 +206,10 @@ +
+ + +