Skip to content

Commit 7e54d86

Browse files
Unified output of SecurityTrails API in one variable
1 parent c6868ea commit 7e54d86

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

service/pdf_report_templates/default_report_temp.html

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -212,35 +212,9 @@ <h3 style="text-align: center;"><span style="text-decoration: underline;"><span
212212
<p><span style="color: #333333;"><strong>&nbsp;</strong></span></p>
213213
<hr />
214214
<p>&nbsp;</p>
215-
<h3 style="text-align: center;"><span style="text-decoration: underline;"><span style="color: #333333; text-decoration: underline;"><strong>SECURITY TRAILS API SCAN RESULTS</strong></span></span></h3>
215+
<h3 style="text-align: center;"><span style="text-decoration: underline;"><span style="color: #333333; text-decoration: underline;"><strong>SECURITYTRAILS API SCAN RESULTS</strong></span></span></h3>
216216
<p>&nbsp;</p>
217-
<p><span style="color: #333333;"><strong>Alexa rank: <span style="color: #333399;">{{st_alexa}}</span><br /></strong></span></p>
218-
<p><span style="color: #333333;"><strong>Apex domain: <span style="color: #333399;">{{st_apex}}</span></strong></span></p>
219-
<p><span style="color: #333333;"><strong>Hostname: <span style="color: #333399;">{{st_hostname}}</span><br /></strong></span></p>
220-
<p><span style="color: #333333;"><strong>A records:<span style="color: #333399;"></span><br /></strong></span></p>
221-
<ul>{% for st_ip in st_ip_combined %}
222-
<li><span style="color: #333399;"><strong>=&gt; {{ st_ip }}</strong></span></li>
223-
{% endfor %}</ul>
224-
<p><span style="color: #333333;"><strong>MX records:<span style="color: #333399;"></span><br /></strong></span></p>
225-
<ul>{% for st_mx in st_mx_combined %}
226-
<li><span style="color: #333399;"><strong>=&gt; {{ st_mx }}</strong></span></li>
227-
{% endfor %}</ul>
228-
<p><span style="color: #333333;"><strong>NS records:<span style="color: #333399;"></span><br /></strong></span></p>
229-
<ul>{% for st_ns in st_ns_combined %}
230-
<li><span style="color: #333399;"><strong>=&gt; {{ st_ns }}</strong></span></li>
231-
{% endfor %}</ul>
232-
<p><span style="color: #333333;"><strong>SOA records:<span style="color: #333399;"></span><br /></strong></span></p>
233-
<ul>{% for st_soa in st_soa_combined %}
234-
<li><span style="color: #333399;"><strong>=&gt; {{ st_soa }}</strong></span></li>
235-
{% endfor %}</ul>
236-
<p><span style="color: #333333;"><strong>TXT records values:<span style="color: #333399;"></span><br /></strong></span></p>
237-
<ul>{% for val in st_val %}
238-
<li><span style="color: #333399;"><strong>=&gt; {{ val }}</strong></span></li>
239-
{% endfor %}</ul>
240-
<p><span style="color: #333333;"><strong>Subdomains list<span style="color: #333399;"></span><br /></strong></span></p>
241-
<ul>{% for subd in st_subds %}
242-
<li><span style="color: #333399;"><strong>=&gt; {{ subd }}</strong></span></li>
243-
{% endfor %}</ul>
217+
<pre style="color: #333399;">{{ securitytrails_output }}</pre>
244218
<p><span style="color: #333333;"><strong>&nbsp;</strong></span></p>
245219
<hr />
246220
<p>&nbsp;</p>

0 commit comments

Comments
 (0)