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

Method validate_single_target

validators/base_validator.py:26–45  ·  view source on GitHub ↗

Validate a single IP:port combination Args: ip: Target IP address port: Target port **kwargs: Additional protocol-specific parameters Returns: dict: Validation results with standard format: {

(self, ip, port, **kwargs)

Source from the content-addressed store, hash-verified

24
25 @abstractmethod
26 def validate_single_target(self, ip, port, **kwargs):
27 """
28 Validate a single IP:port combination
29
30 Args:
31 ip: Target IP address
32 port: Target port
33 **kwargs: Additional protocol-specific parameters
34
35 Returns:
36 dict: Validation results with standard format:
37 {
38 'protocol_name': {
39 'status': bool,
40 'error': str,
41 # ... protocol-specific fields
42 }
43 }
44 """
45 pass
46
47 @abstractmethod
48 def get_default_ports(self):

Callers 1

_worker_processMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected