Log a general nmap scan operation
(self, operation: str, details: str = "")
| 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 | """ |
no test coverage detected