diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:14:01 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:14:01 +0300 |
commit | 983e293eb157131ca5e085e4927ea5fc220edc73 (patch) | |
tree | cc5e8bea4af5cfa53f57a73d2c61357f47165857 /include/tests_malware | |
parent | 9c093f7a97fb0b9593a303ef7394c3bc5dea99b2 (diff) |
Replaced text strings to allow translations
Diffstat (limited to 'include/tests_malware')
-rw-r--r-- | include/tests_malware | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/tests_malware b/include/tests_malware index 3f78e138..4572e9f0 100644 --- a/include/tests_malware +++ b/include/tests_malware @@ -22,7 +22,7 @@ # ################################################################################# # - InsertSection "Software: Malware scanners" + InsertSection "Software: ${SECTION_MALWARE}" # ################################################################################# # @@ -42,7 +42,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: checking presence chkrootkit" if [ ! "${CHKROOTKITBINARY}" = "" ]; then - Display --indent 2 --text "- Checking chkrootkit" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} chkrootkit" --result "${STATUS_FOUND}" --color GREEN LogText "Result: Found ${CHKROOTKITBINARY}" MALWARE_SCANNER_INSTALLED=1 AddHP 2 2 @@ -60,7 +60,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: checking presence Rootkit Hunter" if [ ! "${RKHUNTERBINARY}" = "" ]; then - Display --indent 2 --text "- Checking Rootkit Hunter" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} Rootkit Hunter" --result "${STATUS_FOUND}" --color GREEN LogText "Result: Found ${RKHUNTERBINARY}" MALWARE_SCANNER_INSTALLED=1 AddHP 2 2 @@ -78,7 +78,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: checking presence LMD" if [ ! "${LMDBINARY}" = "" ]; then - Display --indent 2 --text "- Checking LMD (Linux Malware Detect)" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} LMD (Linux Malware Detect)" --result "${STATUS_FOUND}" --color GREEN LogText "Result: Found ${LMDBINARY}" MALWARE_SCANNER_INSTALLED=1 AddHP 2 2 @@ -101,7 +101,7 @@ IsRunning esets_daemon if [ ${RUNNING} -eq 1 ]; then FOUND=1 - Display --indent 2 --text "- Checking ESET daemon" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} ESET daemon" --result "${STATUS_FOUND}" --color GREEN LogText "Result: found ESET security product" ESET_DAEMON_RUNNING=1 MALWARE_SCANNER_INSTALLED=1 @@ -121,7 +121,7 @@ fi if [ ${MCAFEE_SCANNER_RUNNING} -eq 1 ]; then FOUND=1 - Display --indent 2 --text "- Checking McAfee" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} McAfee" --result "${STATUS_FOUND}" --color GREEN LogText "Result: Found McAfee" MALWARE_SCANNER_INSTALLED=1 AddHP 2 2 @@ -142,7 +142,7 @@ SOPHOS_SCANNER_RUNNING=1 fi if [ ${SOPHOS_SCANNER_RUNNING} -eq 1 ]; then - Display --indent 2 --text "- Checking Sophos" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} Sophos" --result "${STATUS_FOUND}" --color GREEN LogText "Result: Found Sophos" MALWARE_SCANNER_INSTALLED=1 AddHP 2 2 @@ -162,7 +162,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: checking presence clamscan" if [ ! "${CLAMSCANBINARY}" = "" ]; then - Display --indent 2 --text "- Checking ClamAV scanner" --result "FOUND" --color GREEN + Display --indent 2 --text "- Checking ClamAV scanner" --result "${STATUS_FOUND}" --color GREEN LogText "Result: Found ${CLAMSCANBINARY}" MALWARE_SCANNER_INSTALLED=1 CLAMSCAN_INSTALLED=1 @@ -181,7 +181,7 @@ LogText "Test: checking running ClamAV daemon (clamd)" IsRunning clamd if [ ${RUNNING} -eq 1 ]; then - Display --indent 2 --text "- Checking ClamAV daemon" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} ClamAV daemon" --result "${STATUS_FOUND}" --color GREEN LogText "Result: found running clamd process" MALWARE_SCANNER_INSTALLED=1 CLAMD_RUNNING=1 @@ -201,11 +201,11 @@ IsRunning freshclam if [ ${RUNNING} -eq 1 ]; then FRESHCLAM_DAEMON_RUNNING=1 - Display --indent 4 --text "- Checking freshclam" --result "FOUND" --color GREEN + Display --indent 4 --text "- ${GEN_CHECKING} freshclam" --result "${STATUS_FOUND}" --color GREEN LogText "Result: found running freshclam process" AddHP 2 2 else - Display --indent 4 --text "- Checking freshclam" --result "SUGGESTION" --color YELLOW + Display --indent 4 --text "- ${GEN_CHECKING} freshclam" --result "${STATUS_SUGGESTION}" --color YELLOW LogText "Result: freshclam is not running" ReportSuggestion ${TEST_NO} "Confirm that freshclam is properly configured and keeps updating the ClamAV database" fi @@ -221,7 +221,7 @@ CLAMSCANBINARY=`ls /Applications/ClamXav.app/Contents/Resources/ScanningEngine/bin/ 2> /dev/null | grep 'clamscan'` if [ ! "${CLAMSCANBINARY}" = "" ]; then LogText "Result: Found ClamXav clamscan installed" - Display --indent 2 --text "- Checking presence of ClamXav AV scanner" --result "FOUND" --color GREEN + Display --indent 2 --text "- ${GEN_CHECKING} ClamXav AV scanner" --result "${STATUS_FOUND}" --color GREEN MALWARE_SCANNER_INSTALLED=1 CLAMSCAN_INSTALLED=1 AddHP 3 3 |