πΈ Your system's configuration, frozen in time.
5l4pp3r is a forensic snapshot tool designed to capture a comprehensive view of your system's configuration environment. It's like a high-resolution camera for your system's state, providing IT professionals and forensic analysts with a powerful lens to examine system configurations at any given point in time.
5l4pp3r meticulously collects and stores:
- π₯οΈ System Information: Hostname and timestamp
- π Network Details: IP addresses, MAC addresses, interface names
- π Configuration Files: From standard system directories and user-specific locations
All this data is compressed and stored in a structured database (SQLite or PostgreSQL), creating a space-optimized, point-in-time record of your system's state.
-
Configuration Loading (
internal/config
) -
Reads
config.toml
for flexible customization -
Defines database settings, compression algorithms, scan directories, and more
-
Logging and Instrumentation
-
Utilizes
zerolog
for structured, timestamped logs -
Storage Setup (
internal/storage
) -
Supports SQLite (local) and PostgreSQL (centralized)
-
Ensures proper schema creation and verification
-
Data Gathering (
internal/gatherer
) -
Collects system info, network details, and configuration files
-
Compresses file contents for space efficiency
- Insert System Info (creates
system_id
) - Assign
system_id
to Config Files - Insert Network Interfaces (linked to
system_id
) - Insert Config Files (compressed, with metadata)
- Commit the Transaction
- Immutable Point-in-Time State: Reconstruct system settings at snapshot time
- Relational Data Model: Powerful querying capabilities
- Repeatable and Extensible: Track configuration evolution over time
- Centralization and Aggregation: Create a global forensic data lake (with PostgreSQL)
- Clone the repository:
git clone https://github.com/copyleftdev/5l4pp3r.git
- Configure
config.toml
with your desired settings - Build and run:
go build
./5l4pp3r
11:25AM INF Starting 5l4pp3r...
11:26AM INF Snapshot completed successfully.
- Filtering and Exclusions
- Extended Metadata and Integrity Checks
- Integration with CI/CD and Automation Tools
We welcome contributions! Please see our CONTRIBUTING.md for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- All the amazing open-source libraries that made this project possible
- The forensic IT community for inspiration and use cases
Remember: With great power comes great responsibility. Use 5l4pp3r ethically and legally! π¦ΈββοΈπ¦ΈββοΈ