Implements Phase 1.5 — an embedded web UI using Go templates, Pico CSS (dark theme), and htmx for auto-refreshing stats and active sessions. Adds read query methods to the Store interface (GetDashboardStats, GetTopUsernames, GetTopPasswords, GetTopIPs, GetRecentSessions) with implementations for both SQLite and MemoryStore. Introduces the internal/web package with server, handlers, templates, and tests. Web server is opt-in via [web] config section and runs alongside SSH with graceful shutdown. Bumps version to 0.2.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
663 B
Plaintext
34 lines
663 B
Plaintext
log_level = "info"
|
|
log_format = "text" # "text" or "json"
|
|
|
|
[ssh]
|
|
listen_addr = ":2222"
|
|
host_key_path = "oubliette_host_key"
|
|
max_connections = 500
|
|
|
|
[auth]
|
|
accept_after = 10
|
|
credential_ttl = "24h"
|
|
|
|
[[auth.static_credentials]]
|
|
username = "root"
|
|
password = "toor"
|
|
|
|
[[auth.static_credentials]]
|
|
username = "admin"
|
|
password = "admin"
|
|
|
|
[storage]
|
|
db_path = "oubliette.db"
|
|
retention_days = 90
|
|
retention_interval = "1h"
|
|
|
|
# [web]
|
|
# enabled = true
|
|
# listen_addr = ":8080"
|
|
|
|
[shell]
|
|
hostname = "ubuntu-server"
|
|
# banner = "Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-89-generic x86_64)\r\n\r\n"
|
|
# fake_user = "" # override username in prompt; empty = use authenticated user
|