X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=templates%2Fviews%2Fscoreboard.html;h=bb25f1fe071aa85169df0fa8885a915eecc5337f;hb=ba67edf5cc964bb13a81af1a2e4768823e95a31a;hp=ba54fbd1818cf12280d63302c806c3aa64a90734;hpb=79a3d934f22852b1b385a4d88ffde4cd9eba2608;p=fba.git diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index ba54fbd..bb25f1f 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -1,6 +1,6 @@ {% 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 title %}Scoreboard - {% if mode == 'software' %}TOP {{amount}} used software{% elif mode == 'detection_mode' %}Detection mode statistics{% elif mode == 'block_level' %}TOP {{amount}} block level statistics{% elif mode == 'obfuscation' %}Obfuscation statistics{% 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' %} @@ -16,13 +16,13 @@ {% elif mode == 'error_code' %}

TOP {{amount}} error codes

{% elif mode == 'detection_mode' %} -

Detection mode metrics

+

Detection mode statistics

{% elif mode == 'avg_peers' %}

TOP {{amount}} average peer count

{% elif mode == 'obfuscator' %}

TOP {{amount}} obfuscating software

{% elif mode == 'obfuscation' %} -

Obfuscation metrics

+

Obfuscation statistics

{% elif mode == 'block_level' %}

TOP {{amount}} block levels

{% endif %} @@ -30,10 +30,10 @@ {% block content %}
- +
- + @@ -42,15 +42,17 @@ @@ -65,28 +67,29 @@ {% block footer %} {% if mode == 'error_code' %}
-

Error codes:

+

Error codes:

{% elif mode == 'detection_mode' %}
-

Detection modes:

+

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. +
  3. STATIC_CHECK: Node information was found by probing for well-known URLs
  4. GENERATOR: Meta data generator was found in HTML code
  5. SITE_NAME: Meta data og:site_name was found in HTML code
  6. -
  7. STATIC_CHECK: All above did not reveal software type, so a check on pre-defined JSON elements was done
  8. +
  9. PLATFORM: Meta data og:platform was found in HTML code
  10. None: the instance was not reachable or the used software was not stated
{% elif mode == 'obfuscation' %}
-

Obfuscation status:

+

Obfuscation status:

№{% 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 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') %} + {% if mode in ('error_code', 'avg_peers', 'obfuscator', 'obfuscation') %} {{entry['domain']}} {% elif entry['domain'] == None %} - {% elif mode == 'block_level' %} - {{entry['domain']}} + {{entry['domain']}} + {% elif mode in ('software', 'detection_mode', 'command') %} + {{entry['domain']}} {% else %} {% with domain=entry['domain'] %} - {% include "widgets/links.tpl" %} + {% include "widgets/links.html" %} {% endwith %} {% endif %}