From 8a1a4a1a03185f96956a6377e61689e2ddf5a29c Mon Sep 17 00:00:00 2001 From: Ronald Teijeira Fernandez Date: Wed, 13 May 2020 13:24:29 +0000 Subject: [PATCH] Fix create case with TheHive --- var/www/modules/PasteSubmit/Flask_PasteSubmit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/modules/PasteSubmit/Flask_PasteSubmit.py b/var/www/modules/PasteSubmit/Flask_PasteSubmit.py index 2a227b05..134753e7 100644 --- a/var/www/modules/PasteSubmit/Flask_PasteSubmit.py +++ b/var/www/modules/PasteSubmit/Flask_PasteSubmit.py @@ -439,7 +439,7 @@ def create_hive_case(): threat_level = int(request.form['threat_level_hive']) hive_description = request.form['hive_description'] hive_case_title = request.form['hive_case_title'] - path = request.form['paste'] + path = os.environ['AIL_HOME'] + "/PASTES/"+ request.form['paste'] #verify input if (0 <= hive_tlp <= 3) and (1 <= threat_level <= 4):