From de2ef2c3e718ac22a11a98808b1a1795c559b487 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 29 Mar 2019 12:23:45 +0100 Subject: [PATCH] Add apt and dpkg binaries --- include/binaries | 1 + include/consts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/binaries b/include/binaries index 18b54b2a..ec9a634f 100644 --- a/include/binaries +++ b/include/binaries @@ -99,6 +99,7 @@ afick.pl) AFICKBINARY=${BINARY}; LogText " Found known binary: afick (file integrity checker) - ${BINARY}" ;; aide) AIDEBINARY=${BINARY}; LogText " Found known binary: aide (file integrity checker) - ${BINARY}" ;; apache2) HTTPDBINARY=${BINARY}; LogText " Found known binary: apache2 (web server) - ${BINARY}" ;; + apt) APTBINARY=${BINARY}; LogText " Found known binary: apt (package manager) - ${BINARY}" ;; arch-audit) ARCH_AUDIT_BINARY="${BINARY}"; LogText " Found known binary: arch-audit (auditing utility to test for vulnerable packages) - ${BINARY}" ;; auditd) AUDITDBINARY=${BINARY}; LogText " Found known binary: auditd (audit framework) - ${BINARY}" ;; awk) AWKBINARY=${BINARY}; LogText " Found known binary: awk (string tool) - ${BINARY}" ;; diff --git a/include/consts b/include/consts index 671ed1ca..1abe26f9 100644 --- a/include/consts +++ b/include/consts @@ -46,6 +46,7 @@ unset LANG # # == Variable initializing == # + APTBINARY="" ARCH_AUDIT_BINARY="" AUDITORNAME="" AUDITCTLBINARY="" @@ -99,6 +100,7 @@ unset LANG DNFBINARY="" DOCKERBINARY="" DOCKER_DAEMON_RUNNING=0 + DPKGBINARY="" ECHOCMD="" ERROR_ON_WARNINGS=0 FAIL2BANBINARY=""