cyberpanel/dockerManager
usmannasir b05d9cb5bb Implement comprehensive security for Docker container command execution
- Add command whitelist validation with 60+ safe commands
- Implement multi-layer security: whitelist + blacklist + specific rules
- Add rate limiting: max 10 commands per minute per user-container
- Enable comprehensive logging for all command executions
- Add input validation for container names and command syntax
- Implement output size limits to prevent memory exhaustion
- Allow privileged mode but restrict through command validation
- Add specific validation rules for systemctl, kill, wget/curl commands
- Block dangerous patterns: command injection, path traversal, destructive operations
- Maintain ACL-based container ownership verification
2025-09-10 14:23:40 +05:00
..
migrations Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
static/dockerManager improve docs, fix links, and add container console support 2025-09-05 01:14:04 +02:00
templates/dockerManager improve docs, fix links, and add container console support 2025-09-05 01:14:04 +02:00
.DS_Store Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
Dockerfile Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
__init__.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
admin.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
apps.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
build.sh Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
container.py Implement comprehensive security for Docker container command execution 2025-09-10 14:23:40 +05:00
decorators.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
docker-compose.yml Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
dockerInstall.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
entrypoint.sh Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
models.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
pluginManager.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
signals.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
tests.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
urls.py improve docs, fix links, and add container console support 2025-09-05 01:14:04 +02:00
vhconf.conf Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
views.py improve docs, fix links, and add container console support 2025-09-05 01:14:04 +02:00