MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_irc_sessions

Method get_irc_sessions

traffic_analyzer.py:1458–1461  ·  view source on GitHub ↗
(self, limit: int = 50)

Source from the content-addressed store, hash-verified

1456 with self._lock:
1457 items = []
1458 for (src_ip, dst_ip, dst_port), metrics in self._beacon_scored.items():
1459 items.append({
1460 'src_ip': src_ip,
1461 'dst_ip': dst_ip,
1462 'dst_port': dst_port,
1463 'score': round(metrics['score'], 3),
1464 'mean_interval_s': round(metrics['mean_interval_s'], 2),

Callers 1

get_traffic_ircFunction · 0.80

Calls 1

get_sessionsMethod · 0.80

Tested by

no test coverage detected