- Add get_web_token RPCD method to retrieve auth token - Create webui.js view that embeds mitmweb in an iframe - Capture auth token at startup and save to file - Add Web UI navigation to all mitmproxy views - Fix PATH for /usr/local/bin in Docker image - Change default port from 8080 to 8888 (avoid CrowdSec conflict) secubox-app-mitmproxy: bump to r12 luci-app-mitmproxy: bump to r2 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
842 B
JSON
46 lines
842 B
JSON
{
|
|
"admin/secubox/security/mitmproxy": {
|
|
"title": "mitmproxy",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-mitmproxy"],
|
|
"uci": {"mitmproxy": true}
|
|
}
|
|
},
|
|
"admin/secubox/security/mitmproxy/dashboard": {
|
|
"title": "Dashboard",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "mitmproxy/dashboard"
|
|
}
|
|
},
|
|
"admin/secubox/security/mitmproxy/webui": {
|
|
"title": "Web UI",
|
|
"order": 15,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "mitmproxy/webui"
|
|
}
|
|
},
|
|
"admin/secubox/security/mitmproxy/requests": {
|
|
"title": "Requests",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "mitmproxy/requests"
|
|
}
|
|
},
|
|
"admin/secubox/security/mitmproxy/settings": {
|
|
"title": "Settings",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "mitmproxy/settings"
|
|
}
|
|
}
|
|
}
|