{% extends "base.html" %} {% block title %}Scoreboard - {% if mode == 'software' %}TOP {{amount}} used software{% elif mode == 'detection_mode' %}Detection mode metrics{% elif mode == 'block_level' %}TOP {{amount}} block level metrics{% elif mode == 'obfuscation' %}obfuscation metrics{% elif mode == 'obfuscator' %}TOP {{amount}} obfuscating software{% elif mode == 'avg_peers' %}TOP {{amount}} average peer count{% elif mode == 'command' %}TOP {{amount}} commands{% elif mode == 'error_code' %}TOP {{amount}} error codes{% elif mode == 'reference' %}TOP {{amount}} referencing instances{% elif mode == 'blocked' %}TOP {{amount}} deferated instances{% elif mode == 'blocker' %}TOP {{amount}} deferating instances{% endif %}{% endblock %} {% block header %} {% if mode == 'blocker' %}

Top {{amount}} defederating instances

{% elif mode == 'blocked' %}

Top {{amount}} defederated instances

{% elif mode == 'reference' %}

Top {{amount}} referencing instances

{% elif mode == 'software' %}

Top {{amount}} used software

{% elif mode == 'command' %}

TOP {{amount}} commands

{% elif mode == 'error_code' %}

TOP {{amount}} error codes

{% elif mode == 'detection_mode' %}

Detection mode metrics

{% elif mode == 'avg_peers' %}

TOP {{amount}} average peer count

{% elif mode == 'obfuscator' %}

TOP {{amount}} obfuscating software

{% elif mode == 'obfuscation' %}

obfuscation metrics

{% elif mode == 'block_level' %}

TOP {{amount}} block levels

{% endif %} {% endblock %} {% block content %}
{% for entry in scores %} {% endfor %}
{% if mode in ('software', 'avg_peers', 'obfuscator') %}Software{% elif mode == 'obfuscation' %}obfuscation status{% elif mode == 'detection_mode' %}Detection mode{% elif mode == 'error_code' %}Error code{% else %}Instance{% endif %} {% if mode == 'reference' %}References{% elif mode == 'avg_peers' %}Average{% elif mode in('software', 'error_code', 'obfuscator', 'obfuscation', 'block_level', 'detection_mode') %}Total{% else %}Blocks{% endif %}
{{loop.index}} {% if mode in ('software', 'command', 'error_code', 'detection_mode', 'avg_peers', 'obfuscator', 'obfuscation', 'block_level') %} {{entry['domain']}} {% elif entry['domain'] == None %} - {% else %} {% with domain=entry['domain'] %} {% include "widgets/links.tpl" %} {% endwith %} {% endif %} {{entry['score']}}
{% endblock %} {% block footer %} {% if mode == 'error_code' %}

Error codes:

{% elif mode == 'detection_mode' %}

Detection modes:

Detection is done in following order:
  1. AUTO_DISCOVERY: /.well-known/nodeinfo was reachable and software type was found in nodeinfo response
  2. GENERATOR: Meta data generator was found in HTML code
  3. SITE_NAME: Meta data og:site_name was found in HTML code
  4. STATIC_CHECK: All above did not reveal software type, so a check on pre-defined JSON elements was done
  5. None: the instance was not reachable or the used software was not stated
{% elif mode == 'obfuscation' %}

Obfuscation status:

{% endif %} Index / {{ super() }} {% endblock %}