- fixed Shell script
- scoreboard for commands is total peers
DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE software IS NULL AND nodeinfo_url IS NOT NULL ORDER BY last_updated ASC;")
fi
-if [ -z "${DOMAINS}" and -z "${SOFTWARE_LIST}" ]
+if [ -z "${DOMAINS}" -a -z "${SOFTWARE_LIST}" ]
then
echo "$0: No domains or software found! MODE='${MODE}'"
exit 255
<thead>
<th>№</th>
<th>{% 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 %}</th>
- <th>{% 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 %}</th>
+ <th>{% if mode == 'reference' %}References{% elif mode == 'avg_peers' %}Average{% elif mode in('software', 'error_code', 'obfuscator', 'obfuscation', 'block_level', 'detection_mode', 'command') %}Total{% else %}Blocks{% endif %}</th>
</thead>
<tbody>