"recheck_instance" : 604800,
"recheck_block" : 43200,
"recheck_nodeinfo" : 604800,
- "api_last_access" : 604800,
+ "source_last_access" : 604800,
"misskey_limit" : 100,
"error_log_cleanup" : 604800,
"write_error_log" : "true",
elif mode == "detection_mode":
database.cursor.execute("SELECT detection_mode, COUNT(domain) AS cnt FROM instances GROUP BY detection_mode ORDER BY cnt DESC LIMIT ?", [amount])
elif mode == "avg_peers":
- database.cursor.execute("SELECT software, AVG(total_peers) AS average FROM instances WHERE software IS NOT NULL GROUP BY software HAVING average>0 ORDER BY average DESC LIMIT ?", [amount])
+ database.cursor.execute("SELECT software, AVG(total_peers) AS average FROM instances WHERE software IS NOT NULL GROUP BY software HAVING average > 0 ORDER BY average DESC LIMIT ?", [amount])
elif mode == "obfuscator":
database.cursor.execute("SELECT software, COUNT(domain) AS cnt FROM instances WHERE has_obfuscation = 1 GROUP BY software ORDER BY cnt DESC LIMIT ?", [amount])
elif mode == "obfuscation":
<li><a href="scoreboard?mode=command&amount=20">Commands</a></li>
<li><a href="scoreboard?mode=error_code&amount=50">Error codes</a></li>
<li><a href="scoreboard?mode=detection_mode&amount=10">Detection modes</a></li>
- <li><a href="scoreboard?mode=avg_peers&amount=30">Average peers</a></li>
+ <li><a href="scoreboard?mode=avg_peers&amount=50">Average peers</a></li>
<li><a href="scoreboard?mode=obfuscator&amount=10">Obfuscating software</a></li>
<li><a href="scoreboard?mode=obfuscation&amount=10">Obfuscation statistics</a></li>
<li><a href="scoreboard?mode=block_level&amount=20">Block level statistics</a></li>