# madhuri137/cybersec-lab architecture

> Architecture diagram of the GitHub repository madhuri137/cybersec-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/madhuri137/cybersec-lab
- Repository: https://github.com/madhuri137/cybersec-lab

## Overview

This Bash toolkit offers a unified menu for running security checks. The documented workflow starts when an operator launches the framework, which connects to the audit, scanning, detection, password-analysis, and port-monitoring tools. These cover distinct system, network, authentication, and credential-security tasks; timestamped logging is also a stated capability. No source excerpts were provided, so the tool relationships and capabilities shown here rely on the README, not inspected call sites.

Main entry points: [`security_framework.sh`](https://github.com/madhuri137/cybersec-lab/blob/main/security_framework.sh) (Security framework), [`logs`](https://github.com/madhuri137/cybersec-lab/tree/main/logs) (Timestamped logs), [`scripts/system_audit.sh`](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/system_audit.sh) (System audit), [`scripts/network_scanner.sh`](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/network_scanner.sh) (Network scanner)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Unified interface"]
  node_framework["Security framework"]
  node_logs[("Timestamped logs")]
end

subgraph group_system["System audit"]
  node_audit["System audit<br/>[system_audit.sh]"]
end

subgraph group_network["Network monitoring"]
  node_scanner["Network scanner<br/>[network_scanner.sh]"]
  node_port_monitor["Port monitor<br/>[port_monitor.sh]"]
end

subgraph group_analysis["Security analysis"]
  node_brute_force["Brute-force detector"]
  node_password_checker["Password checker"]
end

node_operator(("Operator"))

node_operator -->|"launches"| node_framework
node_framework -->|"connects to"| node_audit
node_framework -->|"connects to"| node_scanner
node_framework -->|"connects to"| node_port_monitor
node_framework -->|"connects to"| node_brute_force
node_framework -->|"connects to"| node_password_checker
node_framework -.->|"logs timestamps"| node_logs

click node_framework "https://github.com/madhuri137/cybersec-lab/blob/main/security_framework.sh"
click node_audit "https://github.com/madhuri137/cybersec-lab/blob/main/scripts/system_audit.sh"
click node_scanner "https://github.com/madhuri137/cybersec-lab/blob/main/scripts/network_scanner.sh"
click node_port_monitor "https://github.com/madhuri137/cybersec-lab/blob/main/scripts/port_monitor.sh"
click node_brute_force "https://github.com/madhuri137/cybersec-lab/blob/main/scripts/brute_force_detector.sh"
click node_password_checker "https://github.com/madhuri137/cybersec-lab/blob/main/scripts/password_checker.sh"
click node_logs "https://github.com/madhuri137/cybersec-lab/tree/main/logs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_framework,node_logs toneBlue
class node_audit toneAmber
class node_scanner,node_port_monitor toneMint
class node_brute_force,node_password_checker toneRose
class node_operator toneIndigo
```

## Components

### Unified interface

- [Security framework](https://github.com/madhuri137/cybersec-lab/blob/main/security_framework.sh): `security_framework.sh`
- [Timestamped logs](https://github.com/madhuri137/cybersec-lab/tree/main/logs): `logs`

### System audit

- [System audit](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/system_audit.sh): `scripts/system_audit.sh`

### Network monitoring

- [Network scanner](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/network_scanner.sh): `scripts/network_scanner.sh`
- [Port monitor](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/port_monitor.sh): `scripts/port_monitor.sh`

### Security analysis

- [Brute-force detector](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/brute_force_detector.sh): `scripts/brute_force_detector.sh`
- [Password checker](https://github.com/madhuri137/cybersec-lab/blob/main/scripts/password_checker.sh): `scripts/password_checker.sh`

### Other components

- **Operator**

## Connections

- Operator → Security framework: launches (evidence: `README.md`)
- Security framework → System audit: connects to (evidence: `README.md`)
- Security framework → Network scanner: connects to (evidence: `README.md`)
- Security framework → Port monitor: connects to (evidence: `README.md`)
- Security framework → Brute-force detector: connects to (evidence: `README.md`)
- Security framework → Password checker: connects to (evidence: `README.md`)
- Security framework → Timestamped logs: logs timestamps (evidence: `README.md`)
