common_core is the single, shared Bash core for these related projects:
- *BASH_SETUP – “ sets up a Bash environment (standalone)
- PENTEST_SETUP – “ installs pentest tooling (standalone or paired with BASH_SETUP)
- PENTEST_MENU – “ menu-driven pentest automations (requires PENTEST_SETUP)
This repository centralizes all reusable code (bootstrap, logging, safe sourcing, menus, and generic utilities) so the overlays don’t duplicate logic or drift out of sync.
- *Single source of truth: All shared Bash libraries live here and are versioned once.
- *Thin overlays: Each project keeps only its own
config/
and optionaltasks/
plugins: it calls a tiny wrapper that delegates to core. - *deterministic: Overlays pin a specific core version (via submodule or subtree).
- Consistent UX: Shared bootstrap, menus, logging, and error handling across all projects.
- Bash 4.0+ (Linux) or system Bash on macOS (recommended: brew
bash
) - Standard Unix utilities (
awk
,sed
,grep
,tput
,ls
, etc.) - git (for submodules/subtrees)
- Optional package managers:
apt
,brew
(consumed by utils if present)
Author: Adam Compton
Date Created: August 18, 2025
This script is provided under the MIT License. Feel free to use and modify it for your needs.