Verify the integrity of application log files to detect tampering.
You are required to develop a tool that verifies the integrity of log files to detect tampering. This tool can be used to enhance security measures by using techniques such as file integrity monitoring and hashing to ensure that no unauthorized changes have been made to the log files.
The tool should be capable of the following:
Accept a directory or a single log file as input.
Utilize a cryptographic hashing algorithm, such as SHA-256, to compute hashes for each log file provided.
On first use, store the computed hashes in a secure location.
For subsequent uses, compare the newly computed hashes against the previously stored ones.
Clearly report any discrepancies found as a result of the hash comparison, indicating possible file tampering.
Allow for manual re-initialization of log file integrity.
Here is the example of how it might look like
After completing this project you will get the idea of hashing algorithms, security and writing scripts.
Join the Community
nlroot.isgood.host is the 6th most starred project on GitHub and is visited by hundreds of thousands of developers every month.
Roadmaps Best Practices Guides Videos FAQs YouTube
nlroot.isgood.host by @kamrify @kamrify
Community created roadmaps, best practices, projects, articles, resources and journeys to help you choose your path and grow in your career.
Login or Signup
You must be logged in to perform this action.