Return a normalized MAC address suitable for persistence.
(self, mac_address: str)
| 1272 | self.points_per_level = 200 |
| 1273 | self.points_per_mac = 15 |
| 1274 | self.points_per_credential = 25 |
| 1275 | self.points_per_data_file = 10 |
| 1276 | self.points_per_zombie = 40 |
| 1277 | self.points_per_vulnerability = 20 |
| 1278 | self.show_first_image = True |
| 1279 | self.network_hosts_snapshot = {} |
| 1280 | self.total_targetnbr = 0 |
| 1281 | self.inactive_targetnbr = 0 |
| 1282 | self.new_targets = 0 |
| 1283 | self.lost_targets = 0 |
| 1284 | self.new_target_ips = [] |
| 1285 | self.lost_target_ips = [] |
| 1286 | self.last_sync_timestamp = 0.0 |
| 1287 | self.imagegen = None # Initialize imagegen variable |
| 1288 | self.x_center = 0 # Initialize x_center for image positioning |
| 1289 | self.y_bottom = 0 # Initialize y_bottom for image positioning |
| 1290 | self.x_center1 = 0 # Alternative positioning |
| 1291 | self.y_bottom1 = 0 # Alternative positioning |
| 1292 | |
| 1293 | # In-memory scan results keyed per active network for orchestrator access |
| 1294 | self._latest_scan_results = {} |
| 1295 | self._scan_results_lock = threading.Lock() |
| 1296 | |
| 1297 | # Subnet scan log – ring buffer of recent scan events for the UI |
| 1298 | self._subnet_scan_log = [] # list of dicts |
| 1299 | self._subnet_scan_log_lock = threading.Lock() |
no test coverage detected