{% include 'nav_bar.html' %}

{{ meta['name'] }}

Date Source Size (Kb) Number of lines Max line length
{{ meta['date'] }} {{ meta['source'] }} {{ meta['size'] }} {{ meta['lines']['nb'] }} {{ meta['lines']['max_length'] }}
{% include 'modals/edit_tag.html' %} {% for tag in meta['tags'] %} {% endfor %}
{% include 'modals/add_tags.html' %}
{% if meta['father'] %} {% endif %}
{% with obj_type='item', obj_id=meta['id'], obj_subtype=''%} {% include 'modals/investigations_register_obj.html' %} {% endwith %}
{% with obj_type='item', obj_id=meta['id'], obj_lvl=0%} {% include 'import_export/block_add_user_object_to_export.html' %} {% endwith %}
{% if is_hive_connected %}
{% include 'modals/create_hive_case.html' %}
{% endif %}
{% if misp_eventid %}
  • MISP Events already Created
  • {{ misp_url }}
    {% endif %} {% if meta['hive_case'] %}
  • The Hive Case already Created
  • {{ hive_url }}
    {% endif %} {% if meta['investigations'] %}
    Investigations  
    {{meta['investigations']|length}}
    {% for dict_investigation in meta['investigations'] %} {% endfor %}
    Name Date last modified Info Nb Objects
    {{ dict_investigation['info']}}
    {% for tag in dict_investigation['tags'] %} {{ tag }} {% endfor %}
    {{ dict_investigation['date']}} {{ dict_investigation['last_change']}} {{ dict_investigation['info']}} {{ dict_investigation['nb_objects']}}
    {% endif %} {% if l_64|length != 0 %}
    Decoded Files  
    {{l_64|length}}
    {% for b64 in l_64 %} {% endfor %}
    estimated type hash
      {{ b64[1] }} {{b64[2]}} ({{ b64[4] }})
    {% endif %} {% if meta['duplicates'] %}
    duplicates  
    {{meta['duplicates']|length}}
    {% for duplicate_id in meta['duplicates'] %} {% endfor %}
    Date Similarity Item Diff
    {{meta['duplicates'][duplicate_id]['date']}} {%for dict_algo in meta['duplicates'][duplicate_id]|sort(attribute='algo')%} {%endfor%}
    {{dict_algo['algo']}}
    {{dict_algo['similarity']}}%
    {{duplicate_id}}
    {% endif %} {# {% if l_64|length != 0 %}#} {#
    #} {#
    #} {#
    #} {#
    #} {#
    #} {#
    #} {# Decoded Files  #} {#
    {{l_64|length}}
    #} {#
    #} {#
    #} {#
    #} {# #} {#
    #} {#
    #} {#
    #} {##} {#
    #} {#
    #} {##} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# #} {# {% for b64 in l_64 %}#} {# #} {# #} {# #} {# #} {# {% endfor %}#} {# #} {#
    estimated typehash
      {{ b64[1] }} {{b64[2]}} ({{ b64[4] }})
    #} {##} {#
    #} {#
    #} {##} {##} {#
    #} {#
    #} {# {% endif %}#} {% if meta['crawler'] %}
    Crawler
    Last Origin:
    {{ meta['father'] }}
    {{ meta['crawler']['domain'] }}
    url {{ meta['crawler']['url'] }}
    {% endif %} {% if extracted_matches %}
    Extracted  
    {{extracted_matches|length}}
    {% for match in extracted_matches %} {% endfor %}
    Type ID Extracted
    {{ extracted_matches[match]['icon']['icon'] }} {{ extracted_matches[match]['subtype'] }} {{ extracted_matches[match]['id'] }} {% for row in extracted_matches[match]['matches'] %} {{ row[2] }}
    {% endfor %}
    {% endif %}
    {% if not extracted %}

    {{ meta['content'] }}

    {% else %}

    {{ meta['content'][:extracted[0][0]] }}{% for row in extracted %}{{ meta['content'][row[0]:row[1]] }}{% if loop.index + 1 > extracted|length %}{{ meta['content'][extracted[-1][1]:] }}{% else %}{{ meta['content'][row[1]:extracted[loop.index][0]] }}{% endif %}{% endfor %}

    {% endif %}

    {% if meta['crawler'] %} {% endif %}