Skip to content

medini20/Log-Based-Intrusion-Detection-System-Bash-Scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Scripting Assignment

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.

Files Included

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

Requirements

  • Linux / macOS / WSL / Git Bash
  • Bash shell (v4+ recommended)

Setup

Clone the repository:

git clone https://github.com/medini20/Log-Based-Intrusion-Detection-System-Bash-Scripting.git
cd Log-Based-Intrusion-Detection-System-Bash-Scripting

Give execution permission to scripts:

chmod +x *.sh

Usage

1. Detect

Runs detection logic on the target directory/files.

./detect.sh <target_directory>

2. Sanitize

Cleans or filters detected content.

./sanitize.sh <target_directory>

3. Generate Report

Creates a report based on processed data.

./report.sh <target_directory>

4. Timeline Generation

Produces a timeline of file activity.

./timeline.sh <target_directory>

About

A shell-based Intrusion Detection System (IDS) that analyzes authentication logs, identifies brute-force attackers, and generates a “Firewall Script” to block them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages