Skip to content

IlmaxRehman/Sentinel-Cyber-Defense-System

Repository files navigation

SentinelCyberDefense (updated)

Setup

  1. Create Python venv and activate: python -m venv .venv source .venv/bin/activate # or .venv\Scripts\activate on Windows

  2. Install requirements: pip install -r requirements.txt

  3. (Optional) If you will enable live capture locally:

    • Install pyshark or scapy and run with proper permissions.
    • Set env: ENABLE_LIVE_CAPTURE=true and optionally LIVE_INTERFACE=eth0
  4. Run backend: python main.py

  5. Open http://localhost:5000

Features

  • POST /api/start {source: simulation|live}
  • POST /api/stop
  • POST /api/switch {source}
  • GET /api/status
  • POST /api/inject
  • GET /api/download/logs → zipped CSV logs

Safety

  • Live capture is disabled by default (ENABLE_LIVE_CAPTURE=false).
  • Mitigation actions are simulated and logged; real system firewall commands are disabled unless ALLOW_LOCAL_MITIGATION=true (not implemented by default).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published