8071a21d716a927f36f97345bc5d2db3ec82cda9
- Introduce /api/command/exec endpoint in webui-server.sh for executing a limited set of safe shell commands with JSON response. - Implement security checks to restrict allowed commands and return appropriate HTTP status codes. - Add HTTPClient in webroot/js/api.js to communicate with backend API, including execCommand method. - Enhance ksu mock object to try HTTPClient execCommand first, then fallback to mock implementation. - Add accessibility improvements in CSS with skip-link styles. This enables secure remote command execution via the web UI and improves development mode API simulation. Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
The file is empty.
Description
Languages
Shell
47.6%
JavaScript
40.9%
CSS
6.7%
HTML
4.3%
PowerShell
0.3%
Other
0.2%