# boujeebit/pwn-dock architecture

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

- Interactive diagram: https://gitdiagram.com/boujeebit/pwn-dock
- Repository: https://github.com/boujeebit/pwn-dock

## Overview

PWN-Dock appears to provide Docker-based Metasploit environment assets, with a console wrapper, shell/database scripts, cleanup tooling, and optional IDA and tmux additions. The README contains no setup or workflow documentation beyond a Metasploit database-cache TODO, and no source excerpts were available. The tree supports identifying these components, but not their runtime call or data-flow relationships, so the graph leaves them unconnected.

## Diagram (Mermaid)

```mermaid
flowchart TD

node_dockerfile["Docker environment"]
node_metasploit_image["Metasploit image"]
node_console_wrapper["Console wrapper"]
node_db_script["Database script<br/>[msfdb.sh]"]
node_bashrc["Shell configuration"]
node_container_bashrc["Container shell config<br/>[bashrc.sh]"]
node_cleanup["Container cleanup<br/>[dockercleaner.sh]"]
node_ida_addon["IDA server addon"]
node_tmux_config["tmux configuration<br/>[.tmux.conf]"]

click node_dockerfile "https://github.com/boujeebit/pwn-dock/blob/master/Dockerfile"
click node_metasploit_image "https://github.com/boujeebit/pwn-dock/blob/master/metasploit/Dockerfile"
click node_console_wrapper "https://github.com/boujeebit/pwn-dock/blob/master/wappers/msfconsole"
click node_db_script "https://github.com/boujeebit/pwn-dock/blob/master/scripts/msfdb.sh"
click node_bashrc "https://github.com/boujeebit/pwn-dock/blob/master/scripts/bashrc"
click node_container_bashrc "https://github.com/boujeebit/pwn-dock/blob/master/metasploit/scripts/bashrc.sh"
click node_cleanup "https://github.com/boujeebit/pwn-dock/blob/master/cleanup/dockercleaner.sh"
click node_ida_addon "https://github.com/boujeebit/pwn-dock/blob/master/addons/ida/linux_server"
click node_tmux_config "https://github.com/boujeebit/pwn-dock/blob/master/addons/tmux/.tmux.conf"

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_dockerfile,node_metasploit_image,node_console_wrapper,node_bashrc,node_container_bashrc,node_cleanup,node_tmux_config toneTeal
class node_db_script toneAmber
class node_ida_addon toneMint
```

## Components

### Other components

- [Docker environment](https://github.com/boujeebit/pwn-dock/blob/master/Dockerfile): `Dockerfile`
- [Metasploit image](https://github.com/boujeebit/pwn-dock/blob/master/metasploit/Dockerfile): `metasploit/Dockerfile`
- [Console wrapper](https://github.com/boujeebit/pwn-dock/blob/master/wappers/msfconsole): `wappers/msfconsole`
- [Database script](https://github.com/boujeebit/pwn-dock/blob/master/scripts/msfdb.sh): `scripts/msfdb.sh`
- [Shell configuration](https://github.com/boujeebit/pwn-dock/blob/master/scripts/bashrc): `scripts/bashrc`
- [Container shell config](https://github.com/boujeebit/pwn-dock/blob/master/metasploit/scripts/bashrc.sh): `metasploit/scripts/bashrc.sh`
- [Container cleanup](https://github.com/boujeebit/pwn-dock/blob/master/cleanup/dockercleaner.sh): `cleanup/dockercleaner.sh`
- [IDA server addon](https://github.com/boujeebit/pwn-dock/blob/master/addons/ida/linux_server): `addons/ida/linux_server`
- [tmux configuration](https://github.com/boujeebit/pwn-dock/blob/master/addons/tmux/.tmux.conf): `addons/tmux/.tmux.conf`
