mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
check for glutton
This commit is contained in:
@ -18,10 +18,9 @@ fi
|
||||
}
|
||||
|
||||
function fuNFQCHECK {
|
||||
### Check if honeytrap is actively enabled in docker-compose.yml
|
||||
### Check if honeytrap or glutton is actively enabled in docker-compose.yml
|
||||
|
||||
myNFQCHECK=$(grep -e '^\s*honeytrap:' $myDOCKERCOMPOSEYML | tr -d ': ' | wc -l)
|
||||
|
||||
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."
|
||||
|
Reference in New Issue
Block a user