HashGuard
File Integrity Guardian 🛡️
Install / Use
/learn @Rooyca/HashGuardREADME
🛡️ HashGuard
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
- Clone the repository
- Create a virtual environment
- Install the dependencies
- Run the application
python main.py
Variables
The following variables can be modified to customize the application:
Variable | Description | Default
--- | --- | ---
FILES_DIRECTORIES | The directories to be monitored | ./test_dir
DATABASE_NAME | The name of the database | file_integrity.db
CONFIG_APPRISE | The Apprise configuration file | ./config.yml
TODO
- [x] Add support for multiple directories
- [x] Add mini-dashboard
- [x] Move dashboard to
/dash - [x] JSON response in
/route - [x] Add stats
- [x] Add support for monitoring new, moved, and deleted files
Related Skills
tmux
327.7kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
blogwatcher
327.7kMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
prd
Raito Bitcoin ZK client web portal.
product
Cloud-agnostic Kubernetes infrastructure with Terraform & Helm for homelabs, edge, and production clusters.
