This repository contains a set of Bash scripts designed for file analysis, sanitization, and reporting.
Each script performs a specific task in a simple file-processing pipeline.
| Script | Purpose |
|---|---|
detect.sh |
Detects suspicious or target patterns/files |
sanitize.sh |
Cleans or removes unwanted data |
report.sh |
Generates a summary report |
timeline.sh |
Produces a timeline of events/changes |
- Linux / macOS / WSL / Git Bash
- Bash shell (v4+ recommended)
Clone the repository:
git clone https://github.com/medini20/Log-Based-Intrusion-Detection-System-Bash-Scripting.git
cd Log-Based-Intrusion-Detection-System-Bash-ScriptingGive execution permission to scripts:
chmod +x *.shRuns detection logic on the target directory/files.
./detect.sh <target_directory>Cleans or filters detected content.
./sanitize.sh <target_directory>Creates a report based on processed data.
./report.sh <target_directory>Produces a timeline of file activity.
./timeline.sh <target_directory>