# make517/script_shell_audit_system architecture

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

- Interactive diagram: https://gitdiagram.com/make517/script_shell_audit_system
- Repository: https://github.com/make517/script_shell_audit_system

## Overview

Red Info is a Bash system-reconnaissance and enumeration tool for authorized security audits. The documented workflow is that an operator runs `red_info.sh`, which automatically generates a timestamped text report in the current directory. The report covers identity and privilege checks, system and network information, user enumeration, elevated-permission files, scheduled tasks, and resources. The README assigns these capabilities to `lib/system.sh` and `lib/privesc.sh`, and presentation functions to `lib/ui.sh`. Source excerpts were unavailable, so module-call relationships are not inferred.

Main entry points: [`red_info.sh`](https://github.com/make517/script_shell_audit_system/blob/main/red_info.sh) (Audit entry point)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_collection["System collection"]
  node_runner["Audit entry point<br/>[red_info.sh]"]
  node_system["System and network<br/>[system.sh]"]
  node_privileges["Identity and escalation<br/>[privesc.sh]"]
end

subgraph group_presentation["Presentation"]
  node_ui["Terminal interface<br/>[ui.sh]"]
end

node_operator(("Audit operator"))
node_report["Timestamped report"]

node_operator -->|"runs"| node_runner
node_runner -->|"generates"| node_report

click node_runner "https://github.com/make517/script_shell_audit_system/blob/main/red_info.sh"
click node_system "https://github.com/make517/script_shell_audit_system/blob/main/lib/system.sh"
click node_privileges "https://github.com/make517/script_shell_audit_system/blob/main/lib/privesc.sh"
click node_ui "https://github.com/make517/script_shell_audit_system/blob/main/lib/ui.sh"

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_runner,node_system,node_privileges toneBlue
class node_ui toneAmber
class node_operator,node_report toneIndigo
```

## Components

### System collection

- [Audit entry point](https://github.com/make517/script_shell_audit_system/blob/main/red_info.sh): `red_info.sh`
- [System and network](https://github.com/make517/script_shell_audit_system/blob/main/lib/system.sh): `lib/system.sh`
- [Identity and escalation](https://github.com/make517/script_shell_audit_system/blob/main/lib/privesc.sh): `lib/privesc.sh`

### Presentation

- [Terminal interface](https://github.com/make517/script_shell_audit_system/blob/main/lib/ui.sh): `lib/ui.sh`

### Other components

- **Audit operator**
- **Timestamped report**

## Connections

- Audit operator → Audit entry point: runs (evidence: `README.md`)
- Audit entry point → Timestamped report: generates (evidence: `README.md`)
