Rooyca / HashGuard

File Integrity Guardian ๐Ÿ›ก๏ธ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ›ก๏ธ HashGuard

MIT License Version

The File Integrity Guardian is a Python-based system designed to ensure the security and integrity of files stored on a server or network. It utilizes hash functions to calculate unique fingerprints (hashes) of files and stores them in a SQLite database. The system continuously monitors the specified files and detects any changes or modifications. When a change is detected, it sends real-time notifications to administrators, allowing them to respond promptly to potential security threats. The File Integrity Guardian provides an essential layer of protection, ensuring data integrity and safeguarding against unauthorized file alterations.

Features

  • ๐Ÿ“ Monitor files and directories
  • ๐Ÿ“ Calculate file hashes
  • ๐Ÿ“Š Store hashes in a database
  • ๐Ÿ“ฌ Send real-time notifications

Installation

  1. Clone the repository
  2. Create a virtual environment
  3. Install the dependencies
  4. Run the application
python main.py

Variables

The following variables can be modified to customize the application:

Variable Description Default
FILES_DIRECTORY The directory to be monitored ./monito
DATABASE_NAME The name of the database file_integrity.db
CONFIG_APPRISE The Apprise configuration file ./config.yml

TODO

  • Add support for multiple directories
  • Add mini-dashboard
  • Move dashboard to /board
  • JSON response in / route

About

File Integrity Guardian ๐Ÿ›ก๏ธ

License:MIT License


Languages

Language:Python 82.6%Language:HTML 17.4%