X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=templates%2Fviews%2Fscoreboard.html;h=bb25f1fe071aa85169df0fa8885a915eecc5337f;hb=96db269aa6a9f6a7a95ded55969d7e430543a833;hp=bf5852df0d919fa7027d1fa26abad8ea2f111cdb;hpb=89936744e85c42c8d74a851f22ab2bb5bcead789;p=fba.git diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index bf5852d..bb25f1f 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -1,30 +1,40 @@ {% extends "base.html" %} -{% block title %}scoreboard - {% if software %}TOP {{software}} used software{% elif originator %}TOP {{originator}} scripts{% elif reference %}TOP {{reference}} referencing instances{% elif blocked %}TOP {{blocked}} deferated instances{% elif blockers %}TOP {{blockers}} 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 blockers %} -

Top {{blockers}} defederating instances

- {% elif blocked %} -

Top {{blocked}} defederated instances

- {% elif reference %} -

Top {{reference}} referencing instances

- {% elif software %} -

Top {{software}} used software

- {% elif originator %} -

TOP {{originator}} scripts

- {% elif error_code %} -

TOP {{error_code}} error codes

+ {% 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 statistics

+ {% elif mode == 'avg_peers' %} +

TOP {{amount}} average peer count

+ {% elif mode == 'obfuscator' %} +

TOP {{amount}} obfuscating software

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

Obfuscation statistics

+ {% elif mode == 'block_level' %} +

TOP {{amount}} block levels

{% endif %} {% endblock %} {% block content %}
- +
- - + + @@ -32,16 +42,21 @@ - + {% endfor %} @@ -50,11 +65,36 @@ {% endblock %} {% block footer %} - {% if error_code %} -

Please note to error codes:

- + {% 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. +
  3. STATIC_CHECK: Node information was found by probing for well-known URLs
  4. +
  5. GENERATOR: Meta data generator was found in HTML code
  6. +
  7. SITE_NAME: Meta data og:site_name was found in HTML code
  8. +
  9. PLATFORM: Meta data og:platform was found in HTML code
  10. +
  11. None: the instance was not reachable or the used software was not stated
  12. +
+
+ {% elif mode == 'obfuscation' %} +
+

Obfuscation status:

+ +
{% endif %} Index / {{ super() }}
№{% if software %}Software{% elif error_code %}Error code{% else %}Instance{% endif %}{% if reference %}References{% elif software or error_code %}Total{% else %}Blocks{% 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 software or originator or error_code %} + {% if mode in ('error_code', 'avg_peers', 'obfuscator', 'obfuscation') %} {{entry['domain']}} {% elif entry['domain'] == None %} - + {% elif mode == 'block_level' %} + {{entry['domain']}} + {% elif mode in ('software', 'detection_mode', 'command') %} + {{entry['domain']}} {% else %} - {{entry['domain']}}  - ↗ + {% with domain=entry['domain'] %} + {% include "widgets/links.html" %} + {% endwith %} {% endif %} {{entry['highscore']}}{{entry['score']}}