Automated Context-Aware IDPS Setup

Deploy CAIDPS in a Single Command

One-liner downloader and guided interactive setup wizard for Context-Aware IDPS with real-time ML detection, behavioral profiling, and live SOC dashboard.

bash — one-liner setup
curl -fsSL https://scripts.danplace.tech/idps.sh | bash
curl -fsSL https://scripts.danplace.tech/idps | bash
curl -fsSL https://scripts.danplace.tech/IDPS-WebServer/setup.sh | bash

What the Wizard Does

⚡

Automated Git & Submodules

Clones Jerit3787/IDPS-WebServer (branch fyp2-real-detection), updates submodules, and verifies Git LFS model weights automatically.

🎯

Target Selection

Choose your protected target: OWASP Juice Shop (:3000), VulnBank (:3100), MediVault (:3200), DVNA (:9090), CI/CD Goat (:3000), or bring your own upstream.

🛡️

Multi-Tier Detection

Inline Reverse Proxy (:8081) inspects traffic via Rule Engine, DistilBERT Transformer, Behavioral Profiles, and Threat Intelligence reputation.

🌐

Cloudflare Tunnel Integration

One-click Quick Tunnel creates an ephemeral public HTTPS link (*.trycloudflare.com) or connects to your custom domain via Zero Trust token.

📊

Live SOC Dashboard

Real-time incident management, MITRE ATT&CK heatmap, request inspector, and automated IP mitigation accessible at http://localhost:8000.

🔄

Self-Healing Services

Built-in process keeper restarts backend and proxy services automatically if interrupted, with unified SIGINT/SIGTERM graceful shutdown.

Interactive Wizard Preview

# Terminal Interaction Flow
Step 1: Choose Target Web Application [1-6, default: 1] → OWASP Juice Shop
Step 2: Choose Ingestion Mode [1-3, default: 1] → Live Proxy Inspection
Step 3: Ports [Dashboard: 8000, Proxy: 8081, App: 3000]
Step 4: Cloudflare Tunnel [1-3, default: 1] → Quick Tunnel (*.trycloudflare.com)
Step 5: Check & Install Prerequisites → [✓] Python 3.14 [✓] Docker [✓] Git LFS
─────────────────────────────────────────────────────────────────
[serve] CAIDPS running. Dashboard: http://localhost:8000 | Proxy: http://localhost:8081
[serve] Public Tunnel: https://random-subdomain.trycloudflare.com → proxy (:8081)