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

Method __init__

actions/scanning.py:1059–1066  ·  view source on GitHub ↗
(self, outer_instance, target, open_ports, portstart, portend, extra_ports)

Source from the content-addressed store, hash-verified

1057 existing_action_columns = [k for k in sample_entry.keys()
1058 if k not in ["IPs", "Hostnames", "Alive", "Ports",
1059 "Failed_Pings", "Deep_Scanned", "Deep_Scan_Ports"]]
1060
1061 except Exception as db_error:
1062 self.logger.error(f"Error reading from SQLite: {db_error}")
1063 self.logger.debug(f"Traceback: {traceback.format_exc()}")
1064 # Continue with empty netkb_entries - will create new database entries
1065
1066
1067 ip_to_mac = {} # Dictionary to track IP to MAC associations
1068
1069 for data in netkb_data:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected