Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: check_files MD5/SHA Hash #178

Open
lgmu opened this issue Nov 28, 2024 · 0 comments
Open

Feature request: check_files MD5/SHA Hash #178

lgmu opened this issue Nov 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lgmu
Copy link
Contributor

lgmu commented Nov 28, 2024

In Windows this can be achieved like this:

Get-FileHash -path C:\Users\lgmu\test.txt -algorithm md5

Then you can simply compare the checksum.
So in SNClient check_files it could look like this:

check_files "path=<PATH>" "critical=md5_checksum != <CHECKSUM>

Would be nice if it also supports
SHA1
SHA256
SHA384
SHA512
(if possible)

@lgmu lgmu added the enhancement New feature or request label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant