Created
February 2, 2023 04:28
-
-
Save stevehenderson/22e87f4a7bcd0d1a6430dc603d153fde to your computer and use it in GitHub Desktop.
Entropy Walker - get entropy of all files in a directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# A simple entropy walker. | |
# Requirements: apt install ent | |
# | |
echo 0,File-bytes,Entropy,Chi-square,Mean,Monte-Carlo-Pi,Serial-Correlation | |
for i in *; | |
do echo $i $(ent "$i" -t | tail -n1); | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment