mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 22:07:24 +00:00
Adds GET/POST /rlevel/peers, /rlevel/peer/{pubkey}, /rlevel/me to the toolbox
FastAPI router. Admin routes list every wg-toolbox peer's rlevel status
(chosen/forced/floor/effective + best-effort live handshake) and set
floor/forced. Peer self-service resolves identity from the wg tunnel source
IP (_client_ip -> wg-peers.json), 403s on an unknown IP, and 409s if the
requested chosen mode would drop below the peer's floor or lift an admin
forced mode. Every write delegates to `sudo -n sbxmitm-policyctl`
(set-floor/force/set-chosen) -- no in-process root, mirrors the proxypac
API's _ctl pattern.
Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
|
||
|---|---|---|
| .. | ||
| conf | ||
| data | ||
| debian | ||
| lxc | ||
| menu.d | ||
| mitmproxy_addons | ||
| nftables.d | ||
| nginx | ||
| sbin | ||
| scripts | ||
| secubox_toolbox | ||
| systemd | ||
| tests | ||
| tmpfiles.d | ||
| unbound | ||
| www/toolbox | ||
| CLAUDE.md | ||
| pyproject.toml | ||
| README.md | ||
🧰 ToolBoX (Cabine)
Captive AP + consented MITM privacy analyzer
Category: Security
Screenshot
Features
- Captive portal
- R0-R4 levels
- Tracker exposure
- Tor egress
Installation
# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash
# Install package
sudo apt install secubox-toolbox
Configuration
Configuration file: /etc/secubox/toolbox.toml
API Endpoints
GET /api/v1/toolbox/status- Module statusGET /api/v1/toolbox/health- Health check
License
LicenseRef-CMSD-1.0 (Source-Disclosed License) — CyberMind © 2024-2026. See LICENCE-CMSD-1.0.md.
