diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-05-05 18:49:04 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-05-05 18:49:04 +0300 |
commit | 9f14495d707a0cf0592716562c401d085be11bac (patch) | |
tree | 0b86c57ac7e27c848a6a916ab8548ac9d44e9d45 /include | |
parent | ad131653db023113617bbda596fcf7ec38f82f1f (diff) |
Added sha256 and sha256sum utilities
Diffstat (limited to 'include')
-rw-r--r-- | include/binaries | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binaries b/include/binaries index b8a73208..bea2e020 100644 --- a/include/binaries +++ b/include/binaries @@ -185,6 +185,7 @@ stat) STATFOUND=1; STATBINARY="${BINARY}"; LogText " Found known binary: stat (file information) - ${BINARY}" ;; strings) STRINGSFOUND=1; STRINGSBINARY="${BINARY}"; LogText " Found known binary: strings (text strings search) - ${BINARY}" ;; sha1|sha1sum|shasum) SHA1SUMFOUND=1; SHA1SUMBINARY="${BINARY}"; LogText " Found known binary: sha1/sha1sum/shasum (crypto hashing) - ${BINARY}" ;; + sha256|sha256sum) SHA256SUMFOUND=1; SHA256SUMBINARY="${BINARY}"; LogText " Found known binary: sha256/sha256sum (crypto hashing) - ${BINARY}" ;; ssh-keyscan) SSHKEYSCANFOUND=1; SSHKEYSCANBINARY="${BINARY}"; LogText " Found known binary: ssh-keyscan (scanner for SSH keys) - ${BINARY}" ;; sysctl) SYSCTLFOUND=1; SYSCTLBINARY="${BINARY}"; LogText " Found known binary: sysctl (kernel parameters) - ${BINARY}" ;; syslog-ng) SYSLOGNGFOUND=1; SYSLOGNGBINARY="${BINARY}"; SYSLOGNGVERSION=`${BINARY} -V 2>&1 | grep "^syslog-ng" | awk '{ print $2 }'`; LogText "Found ${BINARY} (version ${SYSLOGNGVERSION})" ;; |