MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / log_scan_operation

Method log_scan_operation

nmap_logger.py:76–80  ·  view source on GitHub ↗

Log a general nmap scan operation

(self, operation: str, details: str = "")

Source from the content-addressed store, hash-verified

74 self.logger.warning(f" {line}")
75
76 def log_scan_operation(self, operation: str, details: str = ""):
77 """Log a general nmap scan operation"""
78 with self.lock:
79 details_str = f" - {details}" if details else ""
80 self.logger.info(f"OPERATION: {operation}{details_str}")
81
82 def run_nmap_command(self, command: List[str], context: str = "", **kwargs) -> subprocess.CompletedProcess:
83 """

Callers 1

force_scan_all_hostsMethod · 0.80

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected