changed subscription

This commit is contained in:
ori.agmon
2018-10-16 17:12:24 +03:00
committed by oriagmon
parent efd2563e2a
commit 8a8f2272ec
+1 -1
View File
@@ -20,7 +20,7 @@ class secretsAccess(Vulnerability, Event):
# Passive Hunter
#should change the subscribtion here... (openPortEvent isnt relevant..)
@handler.subscribe(OpenPortEvent, predicate=lambda p: p.port == 6443 or p.port == 443 or p.port == 10250 or p.port == 10255 or p.port == 2379)
@handler.subscribe(OpenPortEvent, predicate=lambda p: p.port == 6443)
class AccessSecrets(Hunter):
"""Accessing the secrets accessible to the pod"""