From 8e4eeb2f5eb49bab2a824a89f3e7ee5622a9d231 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 8 Feb 2022 07:45:24 -0500 Subject: [PATCH] Agent: Fix inaccurate type-hint in IPScanner._run_fingerprinters() --- monkey/infection_monkey/master/ip_scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/master/ip_scanner.py b/monkey/infection_monkey/master/ip_scanner.py index 67520054e..5c768506b 100644 --- a/monkey/infection_monkey/master/ip_scanner.py +++ b/monkey/infection_monkey/master/ip_scanner.py @@ -3,7 +3,7 @@ import queue import threading from queue import Queue from threading import Event -from typing import Callable, Dict, List +from typing import Any, Callable, Dict, List from infection_monkey.i_puppet import ( FingerprintData, @@ -87,7 +87,7 @@ class IPScanner: def _run_fingerprinters( self, ip: str, - fingerprinters: List[str], + fingerprinters: List[Dict[str, Any]], ping_scan_data: PingScanData, port_scan_data: Dict[int, PortScanData], stop: Event,