How stanislavkutskb2025-max/cybersecurity-python-labs works
This repository is a set of Python security-programming lab exercises, not a single deployed application. Lab 1’s runner presents password-strength classification, access-control checks, and CSV-backed registration/login with JSON event logging. Lab 2 contains standalone user, administrator, and session models. The shared module supplies student metadata. The Lab 2 runner and Task 2 are empty in the supplied excerpts; no workflow is inferred for them.
Main entry points: main.py Lab 1 runner · Task3.py Registration and login · student.py Student metadata · task1.py Password review
Components 11
Lab 1 Exercises
- Lab 1 runner
labs/lab01/main.py - Password review
labs/lab01/task1.py - Access checks
labs/lab01/Task2.py
Registration and Login
- Registration and login
labs/lab01/Task3.py - User CSV
- Event log
Identity Models
- User model
labs/lab02/task1.py - Admin model
labs/lab02/task1.py - Session model
labs/lab02/task1.py
Shared Metadata
- Student metadata
shared/student.py
Other components
- Lab operator
Connections 10
- Lab operator → Lab 1 runner: runs
labs/lab01/main.py - Lab 1 runner → Password review: calls
labs/lab01/main.py - Lab 1 runner → Access checks: calls
labs/lab01/main.py - Lab 1 runner → Registration and login: calls
labs/lab01/main.py - Password review → Student metadata: imports
labs/lab01/task1.py - Access checks → Student metadata: imports
labs/lab01/Task2.py - Registration and login → Student metadata: imports
labs/lab01/Task3.py - Registration and login → User CSV: reads and writes
labs/lab01/Task3.py - Registration and login → Event log: writes
labs/lab01/Task3.py - Admin model → User model: inherits
labs/lab02/task1.py