Show the bots held in the trap right now
Dashboard table "Gerade in der Falle" and MCP tool list_active, backed by an in-memory registry of running traps. Changelog prepared for 0.8.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
35aba56255
commit
7c11bf211e
15 files changed
+249
-5
No files matched your search
@@ -28,6 +28,22 @@ public sealed record StatsResult(
|
||||
int ActiveTraps,
|
||||
CatchItem? LongestCatch);
|
||||
|
||||
public sealed record ActiveTrapItem(
|
||||
DateTime StartedAt,
|
||||
double DurationSeconds,
|
||||
long BytesSent,
|
||||
string Strategy,
|
||||
string Ip,
|
||||
string? CountryCode,
|
||||
string? Country,
|
||||
string? City,
|
||||
string? Asn,
|
||||
string? Provider,
|
||||
string? Target,
|
||||
string? UserAgent);
|
||||
|
||||
public sealed record ActiveTrapListResult(int Count, IReadOnlyList<ActiveTrapItem> Traps);
|
||||
|
||||
public sealed record CatchListResult(int Count, IReadOnlyList<CatchItem> Catches);
|
||||
|
||||
public sealed record TopResultItem(string Key, string? Label, int Catches, double TotalHoldSeconds);
|
||||
|
||||
Reference in new issue
Block a user