From fe178841d0f7bf953445b469871b79a41a9a27e4 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 6 Oct 2022 16:28:39 +0530 Subject: [PATCH] Agent: Add typehint in zerologon that mypy complained about --- monkey/infection_monkey/exploit/zerologon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/zerologon.py b/monkey/infection_monkey/exploit/zerologon.py index 61449ed50..9c6d863d1 100644 --- a/monkey/infection_monkey/exploit/zerologon.py +++ b/monkey/infection_monkey/exploit/zerologon.py @@ -56,7 +56,7 @@ class ZerologonExploiter(HostExploiter): T1098_ATTACK_TECHNIQUE_TAG, T1210_ATTACK_TECHNIQUE_TAG, ) - _PROPAGATION_TAGS = tuple() + _PROPAGATION_TAGS: Tuple[str, ...] = tuple() MAX_ATTEMPTS = 2000 # For 2000, expected average number of attempts needed: 256. ERROR_CODE_ACCESS_DENIED = 0xC0000022