mirror of https://github.com/CISOfy/lynis.git
Merge pull request #833 from aperum/master
NETW-3014: Report correct promisc interface
This commit is contained in:
commit
b5f8c06653
|
@ -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…
Reference in New Issue