How zainab1411/cyber-mirage- works
Cyber-Mirage is a honeypot-attack reporting dashboard. Its main user flow is login, view dashboard data, and inspect/filter/export attack attempts; the backend serves a JSON summary from a local file. Separate update scripts can build summaries from Elasticsearch events or an exported Kibana CSV. The README describes broader behavioral analysis, while the sampled updater and dashboard use differing summary schemas, so their data compatibility is not established. The Elasticsearch updater’s scheduled loop is defined but not enabled by its main block.
Main entry points: app.py Flask routes · results.json Dashboard results · update_results.py Elasticsearch updater · update_results_v2.py CSV processor
Components 13
Web application
- Browser dashboard
- Flask routes
app.py - Login page
templates/login.html - Dashboard page
templates/dashboard.html - Dashboard behavior
static/script.js - JSON loader
app.py - Landing page
templates/index.html
Data preparation
- Elasticsearch updater
scripts/update_results.py - CSV processor
scripts/update_results_v2.py
Dashboard data
- Dashboard results
data/results.json
Other components
- Dashboard user
- Elasticsearch
- Kibana export CSV
scripts/Untitled Discover session(1).csv
Connections 13
- Dashboard user → Browser dashboard: uses
- Browser dashboard → Flask routes: requests pages
- Flask routes → Login page: renders
- Flask routes → Dashboard page: renders
- Flask routes → Landing page: renders
- Flask routes → Dashboard behavior: serves dashboard
- Dashboard behavior → Flask routes: fetches data
- Flask routes → JSON loader: calls
- JSON loader → Dashboard results: reads
- Elasticsearch updater → Elasticsearch: queries events
- Elasticsearch updater → Dashboard results: writes summary
- CSV processor → Kibana export CSV: reads
- CSV processor → Dashboard results: writes summary