From cbdf9bf2e012ed8dd1a61e40d46b6bbf1ce10ccf Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 31 May 2019 16:13:33 -0300 Subject: [PATCH 1/2] Fixed header in template to be string --- thehive-templates/EmlParser_1_1/long.html | 175 ++++++++++------------ 1 file changed, 82 insertions(+), 93 deletions(-) diff --git a/thehive-templates/EmlParser_1_1/long.html b/thehive-templates/EmlParser_1_1/long.html index afc431a..849c114 100644 --- a/thehive-templates/EmlParser_1_1/long.html +++ b/thehive-templates/EmlParser_1_1/long.html @@ -1,96 +1,85 @@
-
- {{(artifact.data || artifact.attachment.name) | fang}} -
-
- {{content.errorMessage}} -
+
+ {{(artifact.data || artifact.attachment.name) | fang}}
- - -
-
- Email message details -
-
-
Is anonymous proxy
-
Is satellite provider
- -
-
From
-
{{content.displayFrom}} ({{content.sender}})
-
-
-
To
-
{{content.displayTo}} ({{content.receivers}})
-
-
-
Subject
-
{{content.subject || '-'}}
-
-
-
Topic
-
{{content.topic || '-'}}
-
-
-
Bcc
-
{{content.bcc || '-'}}
-
-
-
Attachments
-
-
This message file includes - -
- - - - - - - - - - - - - - - - - - - - - - - -
FilenameFile information
{{a.filename}}[MD5]: {{a.md5}}
[SHA1]: {{a.sha1}}
[SHA256]: {{a.sha256}}
- {{a.mime}} -
-
-
-
-
Headers
-
- - - - - - - - - -
HeaderContent
{{k}}{{v}}
-
-
-
-
Body
-
-
{{content.body}}
-
-
-
+
+ {{content.errorMessage}}
- +
+ +
+
+ Email message details +
+
+
Is anonymous proxy
+
Is satellite provider
+ +
+
From
+
{{content.displayFrom}} ({{content.sender}})
+
+
+
To
+
{{content.displayTo}} ({{content.receivers}})
+
+
+
Subject
+
{{content.subject || '-'}}
+
+
+
Topic
+
{{content.topic || '-'}}
+
+
+
Bcc
+
{{content.bcc || '-'}}
+
+
+
Attachments
+
+
This message file includes + +
+ + + + + + + + + + + + + + + + + + + + + + + +
FilenameFile information
{{a.filename}}[MD5]: {{a.md5}}
[SHA1]: {{a.sha1}}
[SHA256]: {{a.sha256}}
+ {{a.mime}} +
+
+
+
+
Headers
+
+
{{content.headers}}
+
+
+
+
Body
+
+
{{content.body}}
+
+
+
+
\ No newline at end of file From 4f978f00d9911d871de1d1fa96b476cdfada60a7 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 31 May 2019 16:15:49 -0300 Subject: [PATCH 2/2] Added new line at the end of html --- thehive-templates/EmlParser_1_1/long.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thehive-templates/EmlParser_1_1/long.html b/thehive-templates/EmlParser_1_1/long.html index 849c114..7c80d2c 100644 --- a/thehive-templates/EmlParser_1_1/long.html +++ b/thehive-templates/EmlParser_1_1/long.html @@ -82,4 +82,4 @@
- \ No newline at end of file +