How candyhuang940730/moneymoney works
Hydra Underground is a self-deployed educational CTF website. Visitors enter through a portal and can open either the five-chapter investigation center or the underground site. The site presents a login page; its routes verify users and manage session state through a SQLite-backed database. The story briefing can open on first entry and be reopened from the page. The README describes forgot-password and other future CTF functions, but they are not implemented in the sampled runtime; template wiring for the briefing script was not shown.
Main entry points: website/routes.py Site Routes · database.py User Database · __init__.py App Factory · ctf_center/routes.py Center Routes
Components 12
Navigation
- App Factory
app/__init__.py - Portal Page
app/templates/portal.html
Investigation Center
- Center Routes
app/ctf_center/routes.py - Five Chapters
app/templates/ctf_center/index.html
Underground Website
- Site Routes
app/website/routes.py - Login Page
app/templates/website/login.html - Briefing Dialog Logic
app/static/js/story_intro.js - Base Layout
app/templates/base.html
User Persistence
- User Database
app/website/database.py - Database Schema
app/website/schema.sql - SQLite Store
Other components
- Visitor
Connections 12
- Visitor → Portal Page: opens
README.md - App Factory → Portal Page: renders
app/__init__.py - App Factory → Center Routes: registers
app/__init__.py - App Factory → Site Routes: registers
app/__init__.py - Visitor → Five Chapters: visits
README.md - Center Routes → Five Chapters: renders
app/ctf_center/routes.py - Visitor → Login Page: visits
README.md - Site Routes → Login Page: renders
app/website/routes.py - Site Routes → User Database: verifies users
app/website/routes.py - Site Routes → User Database: loads session user
app/website/routes.py - User Database → Database Schema: executes schema
app/website/database.py - User Database → SQLite Store: queries and writes
app/website/database.py