Files
mitm-webserver/backend/example_scripts/README.md
malmert c9735faf46
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 12s
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s
test new file guard and auto deploy
2026-04-17 19:48:22 +02:00

24 lines
672 B
Markdown

# Example NFQUEUE Scripts
Files in this folder are treated as protected example scripts by the API:
- `*.py`: script source
- `*-requirements.txt`: optional pip requirements copied and installed into the script venv
- `*.deploy.json`: optional deployment settings for startup auto-deploy
Protected behavior:
- scripts are synced from this folder into `/srv/fw-scripts` on backend startup
- scripts in this folder cannot be overwritten, disabled, or deleted via the API
- scripts with a deploy config containing `qnum` are auto-started as systemd services
Example deploy file:
```json
{
"qnum": 1,
"enable_at_boot": true,
"extra_args": "--log-level INFO"
}
```