mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
NETW-3014: Report correct promisc interface
This commit is contained in:
parent
a7b48e40b0
commit
530ad1ef75
@ -489,10 +489,10 @@
|
|||||||
# Check if this interface was whitelisted
|
# Check if this interface was whitelisted
|
||||||
if [ ${WHITELISTED} -eq 0 ]; then
|
if [ ${WHITELISTED} -eq 0 ]; then
|
||||||
FOUNDPROMISC=1
|
FOUNDPROMISC=1
|
||||||
ReportWarning "${TEST_NO}" "Found promiscuous interface (${I})"
|
ReportWarning "${TEST_NO}" "Found promiscuous interface (${ITEM})"
|
||||||
LogText "Note: some tools put an interface into promiscuous mode, to capture/log network traffic"
|
LogText "Note: some tools put an interface into promiscuous mode, to capture/log network traffic"
|
||||||
else
|
else
|
||||||
LogText "Result: Found promiscuous interface ${I} (*whitelisted via profile*)"
|
LogText "Result: Found promiscuous interface ${ITEM} (*whitelisted via profile*)"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user