Initialize variables for binaries

This commit is contained in:
Michael Boelen 2016-09-10 16:11:43 +02:00
parent 2b005afd04
commit 9e7dfd52d8
1 changed files with 35 additions and 1 deletions

View File

@ -46,6 +46,8 @@ unset LANG
# == Variable initializing == # == Variable initializing ==
# #
AUDITORNAME="" AUDITORNAME=""
AUDITCTLBINARY=""
AUDITDBINARY=""
AUTH_FAILED_LOGINS_LOGGED=0 AUTH_FAILED_LOGINS_LOGGED=0
AUTH_UNLOCK_TIME=-1 AUTH_UNLOCK_TIME=-1
PROFILE="" PROFILE=""
@ -56,11 +58,14 @@ unset LANG
AUDITD_RUNNING=0 AUDITD_RUNNING=0
APPLICATION_FIREWALL_ACTIVE=0 APPLICATION_FIREWALL_ACTIVE=0
BINARY_SCAN_FINISHED=0 BINARY_SCAN_FINISHED=0
CFAGENTBINARY=""
CHECK=0 CHECK=0
CHECK_BINARIES=1 CHECK_BINARIES=1
CHECK_OPTION_ARRAY="" CHECK_OPTION_ARRAY=""
CHKROOTKITBINARY="" CHKROOTKITBINARY=""
CHKCONFIGBINARY="" CHKCONFIGBINARY=""
CLAMCONFBINARY=""
CLAMSCANBINARY=""
COLORS=1 COLORS=1
COMPLIANCE_ENABLE_CIS=0 COMPLIANCE_ENABLE_CIS=0
COMPLIANCE_ENABLE_HIPAA=0 COMPLIANCE_ENABLE_HIPAA=0
@ -76,8 +81,10 @@ unset LANG
CUSTOM_URL_APPEND="" CUSTOM_URL_APPEND=""
CUSTOM_URL_PREPEND="" CUSTOM_URL_PREPEND=""
CUSTOM_URL_PROTOCOL="" CUSTOM_URL_PROTOCOL=""
CUTBINARY=""
DATABASE_ENGINE_RUNNING=0 DATABASE_ENGINE_RUNNING=0
DB2_RUNNING=0 DB2_RUNNING=0
DBUSDAEMONBINARY=""
DEBSECANBINARY="" DEBSECANBINARY=""
DEBSUMSBINARY="" DEBSUMSBINARY=""
DEVELOPER_MODE=0 DEVELOPER_MODE=0
@ -86,6 +93,7 @@ unset LANG
DOCKER_DAEMON_RUNNING=0 DOCKER_DAEMON_RUNNING=0
ECHOCMD="" ECHOCMD=""
ERROR_ON_WARNINGS=0 ERROR_ON_WARNINGS=0
FILEBINARY=""
FILEVALUE="" FILEVALUE=""
FIND="" FIND=""
FIREWALL_ACTIVE=0 FIREWALL_ACTIVE=0
@ -96,10 +104,15 @@ unset LANG
GRSEC_FOUND=0 GRSEC_FOUND=0
GRUB2INSTALLBINARY="" GRUB2INSTALLBINARY=""
HAS_SYSTEMD=0 HAS_SYSTEMD=0
HEADBINARY=""
HELPER="" HELPER=""
HOSTID="" HOSTID=""
HTTPDBINARY=""
IDS_IPS_TOOL_FOUND=0 IDS_IPS_TOOL_FOUND=0
IPFBINARY=""
IPTABLESBINARY="" IPTABLESBINARY=""
JOURNALCTLBINARY=""
KLDSTATBINARY=""
LDAP_CLIENT_CONFIG_FILE="" LDAP_CLIENT_CONFIG_FILE=""
LINUX_VERSION="" LINUX_VERSION=""
LINUXCONFIGFILE="" LINUXCONFIGFILE=""
@ -111,11 +124,15 @@ unset LANG
MACHINEID="" MACHINEID=""
MACHINE_ROLE="" MACHINE_ROLE=""
MALWARE_SCANNER_INSTALLED=0 MALWARE_SCANNER_INSTALLED=0
MYSQL_RUNNING=0
MIN_PASSWORD_LENGTH=-1 MIN_PASSWORD_LENGTH=-1
MOUNTBINARY=""
MTREEBINARY=""
MYSQLCLIENTBINARY=""
MYSQL_RUNNING=0
N_PLUGIN_ENABLED=0 N_PLUGIN_ENABLED=0
NAME_CACHE_USED=0 NAME_CACHE_USED=0
NETWORK_INTERFACES="" NETWORK_INTERFACES=""
NFTBINARY=""
NGINX_ACCESS_LOG_DISABLED=0 NGINX_ACCESS_LOG_DISABLED=0
NGINX_ACCESS_LOG_MISSING=0 NGINX_ACCESS_LOG_MISSING=0
NGINX_ALIAS_FOUND=0 NGINX_ALIAS_FOUND=0
@ -141,7 +158,9 @@ unset LANG
NGINX_ROOT_FOUND=0 NGINX_ROOT_FOUND=0
NGINX_WEAK_SSL_PROTOCOL_FOUND=0 NGINX_WEAK_SSL_PROTOCOL_FOUND=0
NTPD_ROLE="" NTPD_ROLE=""
NTPQBINARY=""
OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY=0 OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY=0
OPTIONS_CONN_MAX_WAIT_STATE=""
ORACLE_RUNNING=0 ORACLE_RUNNING=0
OS="" OS=""
OS_KERNELVERSION="" OS_KERNELVERSION=""
@ -160,31 +179,39 @@ unset LANG
PAM_PASSWORD_STRENGTH_TESTED=0 PAM_PASSWORD_STRENGTH_TESTED=0
PAM_PASSWORD_PWHISTORY_ENABLED=0 PAM_PASSWORD_PWHISTORY_ENABLED=0
PAM_PASSWORD_UXHISTORY_ENABLED=0 PAM_PASSWORD_UXHISTORY_ENABLED=0
PFCTLBINARY=""
PFFOUND=0 PFFOUND=0
PIDFILE="" PIDFILE=""
PKGADMINBINARY=""
PLUGINDIR="" PLUGINDIR=""
PLUGIN_PHASE=0 PLUGIN_PHASE=0
POSTFIXBINARY=""
POSTGRES_RUNNING=0 POSTGRES_RUNNING=0
PRIVILEGED=0 PRIVILEGED=0
PROFILES="" PROFILES=""
PROFILEVALUE="" PROFILEVALUE=""
PSBINARY="ps" PSBINARY="ps"
PUPPETBINARY=""
REDIS_RUNNING=0 REDIS_RUNNING=0
REFRESH_REPOSITORIES=1 REFRESH_REPOSITORIES=1
REMOTE_LOGGING_ENABLED=0 REMOTE_LOGGING_ENABLED=0
RESOLV_DOMAINNAME="" RESOLV_DOMAINNAME=""
RKHUNTERBINARY="" RKHUNTERBINARY=""
ROOTDIR="/" ROOTDIR="/"
ROOTSHBINARY=""
RPCINFOBINARY="" RPCINFOBINARY=""
RPMBINARY="" RPMBINARY=""
RUN_HELPERS=0 RUN_HELPERS=0
RUN_TESTS=1 RUN_TESTS=1
RUN_UPDATE_CHECK=1 RUN_UPDATE_CHECK=1
SALTMASTERBINARY=""
SALTMINIONBINARY=""
SAMHAINBINARY="" SAMHAINBINARY=""
SCAN_TEST_HEAVY=""; SCAN_TEST_MEDIUM=""; SCAN_TEST_LOW="" SCAN_TEST_HEAVY=""; SCAN_TEST_MEDIUM=""; SCAN_TEST_LOW=""
SEARCH_PROFILES="" SEARCH_PROFILES=""
SESTATUSBINARY="" SESTATUSBINARY=""
SERVICE_MANAGER="" SERVICE_MANAGER=""
SETBINARY=""
SETTINGS="" SETTINGS=""
SETTINGS_FILE="" SETTINGS_FILE=""
SET_STRICT=0 SET_STRICT=0
@ -199,9 +226,11 @@ unset LANG
SKIP_TESTS="" SKIP_TESTS=""
SKIPREASON="" SKIPREASON=""
SKIPPED_TESTS_ROOTONLY="" SKIPPED_TESTS_ROOTONLY=""
SMTPCTLBINARY=""
SSHKEYSCANBINARY="" SSHKEYSCANBINARY=""
SSHKEYSCANFOUND=0 SSHKEYSCANFOUND=0
SSL_CERTIFICATE_PATHS="" SSL_CERTIFICATE_PATHS=""
STUNNELBINARY=""
SYSLOGNGBINARY="" SYSLOGNGBINARY=""
SYSTEMCTLBINARY="" SYSTEMCTLBINARY=""
SYSTEM_IS_NOTEBOOK=255 SYSTEM_IS_NOTEBOOK=255
@ -217,10 +246,13 @@ unset LANG
TOOLTIP_SHOWED=0 TOOLTIP_SHOWED=0
TOTAL_SUGGESTIONS=0 TOTAL_SUGGESTIONS=0
TOTAL_WARNINGS=0 TOTAL_WARNINGS=0
TRBINARY=""
TRIPWIREBINARY="" TRIPWIREBINARY=""
UEFI_BOOTED=0 UEFI_BOOTED=0
UEFI_BOOTED_SECURE=0 UEFI_BOOTED_SECURE=0
UNAMEBINARY=""
UNBOUND_RUNNING=0 UNBOUND_RUNNING=0
UNIQBINARY=""
UPDATE_CHECK_SKIPPED=0 UPDATE_CHECK_SKIPPED=0
UPLOAD_OPTIONS="" UPLOAD_OPTIONS=""
UPLOAD_PROXY_PORT="" UPLOAD_PROXY_PORT=""
@ -232,6 +264,8 @@ unset LANG
VERBOSE=0 VERBOSE=0
VMTYPE="" VMTYPE=""
VULNERABLE_PACKAGES_FOUND=0 VULNERABLE_PACKAGES_FOUND=0
WCBINARY=""
XARGSBINARY=""
YUMBINARY="" YUMBINARY=""
ZYPPERBINARY="" ZYPPERBINARY=""
# #