mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
check for glutton
This commit is contained in:
parent
565ecddafd
commit
eddd9c9462
1 changed files with 2 additions and 3 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue