Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
m-1-k-3 committed Nov 8, 2023
1 parent af02844 commit f4639f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/S25_kernel_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ S25_kernel_check()
export KERNEL_VERSION=()
export KERNEL_DESC=()
export KERNEL_MODULES=()
FOUND=0
KMOD_BAD=0
local FOUND=0
export KMOD_BAD=0

# This module waits for S24_kernel_bin_identifier
# check emba.log for S24_kernel_bin_identifier starting
Expand Down Expand Up @@ -216,7 +216,7 @@ get_kernel_vulns() {
KNOWN_EXPLOITED=0
if [[ -f "${KNOWN_EXP_CSV}" ]]; then
if grep -q \""${LES_CVE}"\", "${KNOWN_EXP_CSV}"; then
print_output "[+] ${ORANGE}WARNING:${GREEN }Vulnerability ${ORANGE}${LES_CVE}${GREEN} is a known exploited vulnerability."
print_output "[+] ${ORANGE}WARNING: ${GREEN}Vulnerability ${ORANGE}${LES_CVE}${GREEN} is a known exploited vulnerability.${NC}"
KNOWN_EXPLOITED=1
fi
fi
Expand Down

0 comments on commit f4639f7

Please sign in to comment.