-
Notifications
You must be signed in to change notification settings - Fork 570
Expand file tree
/
Copy path_network_irc.html
More file actions
28 lines (28 loc) · 1.02 KB
/
_network_irc.html
File metadata and controls
28 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% if results.network.irc %}
<table class="table table-striped table-bordered">
<tr>
<th>Command</th>
<th>Params</th>
<th>Type</th>
{% if results.network_proc_map %}<th>Process Name (PID)</th>{% endif %}
</tr>
{% for irc in results.network.irc %}
<tr>
<td><span class="mono">{{irc.command}}</span> {% if irc.source == "behavior" %}<span class="badge bg-primary">behavior</span>{% endif %}</td>
<td><span class="mono"><pre>{{irc.params}}</pre></span></td>
<td><span class="mono"><pre>{{irc.type}}</pre></span></td>
{% if results.network_proc_map %}
<td>
{% if irc.process_name %}
<span class="mono">{{ irc.process_name }}{% if irc.process_id %} ({{ irc.process_id }}){% endif %}</span>
{% else %}
<span class="mono">-</span>
{% endif %}
</td>
{% endif %}
</tr>
{% endfor %}
</table>
{% else %}
<p>Nothing to display.</p>
{% endif %}