Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data/html/generic/_office.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4>Malicious Macro Bot Results</h4>
<col width="250" />
<col width="*" />
</colgroup>
{% for key, value in file.mmbot.items|dictsort:0 %}
{% for key, value in file.mmbot|dictsort %}
<tr>
<td>{{key}}</td>
<td>{{value}}</td>
Expand All @@ -30,7 +30,7 @@ <h4>SummaryInformation Metadata</h4>
<col width="250" />
<col width="*" />
</colgroup>
{% for key, value in file.office.Metadata.SummaryInformation.items|dictsort:0 %}
{% for key, value in file.office.Metadata.SummaryInformation|dictsort %}
<tr>
<td>{{key}}</td>
<td>{{value}}</td>
Expand All @@ -50,7 +50,7 @@ <h4>DocumentSummaryInformation Metadata</h4>
<col width="250" />
<col width="*" />
</colgroup>
{% for key, value in file.office.Metadata.DocumentSummaryInformation.items|dictsort:0 %}
{% for key, value in file.office.Metadata.DocumentSummaryInformation|dictsort %}
<tr>
<td>{{key}}</td>
<td>{{value}}</td>
Expand Down Expand Up @@ -124,7 +124,7 @@ <h4>Extracted Macros</h4>
<div id="si_metadata">
<h4>RTF document details</h4>
<table class="table table-striped table-bordered">
{% for key, value in file.office_rtf.items %}
{% for key, value in file.office_rtf.items() %}
<h5>Object ID: {{key}}</h5>
<tr>
<th width=10%>Filename</th>
Expand Down
2 changes: 1 addition & 1 deletion data/html/generic/_pdf.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h4>Keyword Counts</h4>
<th>Keyword</th>
<th>Count</th>
</tr>
{% for keyword, count in file.pdf.Keywords.items %}
{% for keyword, count in file.pdf.Keywords.items() %}
<tr>
<td>{{keyword}}</td>
<td>{{count}}</td>
Expand Down
2 changes: 1 addition & 1 deletion data/html/sections/_mitre.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h4>MITRE ATT&CK</h4>
</thead>
<tbody>
<tr>
{% for category, ttps in results.mitre_attck.items %}
{% for category, ttps in results.mitre_attck.items() %}
<td>
<ul style="padding-left: 1rem">
{% for ttp in ttps %}
Expand Down
2 changes: 1 addition & 1 deletion data/html/sections/_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h5 class="mb-0 text-white"><i class="fas fa-list-alt me-2 text-primary"></i> Su
</tr>
</thead>
<tbody>
{% for key, value in results.reversinglabs.items %}
{% for key, value in results.reversinglabs.items() %}
<tr>
<td>{{key}}</td>
{% if key == "permalink" %}
Expand Down