check for glutton

This commit is contained in:
Marco Ochse 2018-03-15 11:37:11 +00:00
parent 565ecddafd
commit eddd9c9462

View file

@ -18,10 +18,9 @@ fi
}
function fuNFQCHECK {
### Check if honeytrap is actively enabled in docker-compose.yml
myNFQCHECK=$(grep -e '^\s*honeytrap:' $myDOCKERCOMPOSEYML | tr -d ': ' | wc -l)
### Check if honeytrap or glutton is actively enabled in docker-compose.yml
myNFQCHECK=$(grep -e '^\s*honeytrap:\|^\s*glutton:' $myDOCKERCOMPOSEYML | tr -d ': ' | wc -l)
if [ "$myNFQCHECK" == "0" ];
then
echo "No NFQ related honeypot detected, no firewall rules needed. Exiting."