MCPcopy Create free account
hub / github.com/MorDavid/NetworkHound / __init__

Method __init__

validators/base_validator.py:18–23  ·  view source on GitHub ↗
(self, timeout=5, max_threads=10, use_multiprocessing=False)

Source from the content-addressed store, hash-verified

16 """Abstract base class for protocol validators"""
17
18 def __init__(self, timeout=5, max_threads=10, use_multiprocessing=False):
19 self.timeout = timeout
20 self.max_threads = max_threads
21 # Multiprocessing disabled - always use threading for stability
22 self.use_multiprocessing = False
23 self.protocol_name = self.__class__.__name__.replace('Validator', '').upper()
24
25 @abstractmethod
26 def validate_single_target(self, ip, port, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected