From d64929eda8f25d9c2afd9cbc1671df034ac93980 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 26 Sep 2024 10:09:53 +0200 Subject: [PATCH] fix bug remove usb nets iface --- ID-workbench-script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ID-workbench-script.py b/ID-workbench-script.py index 81df698..5b8f6fc 100644 --- a/ID-workbench-script.py +++ b/ID-workbench-script.py @@ -46,7 +46,7 @@ def logs(f): ## Utility Functions for find ID ## def get_network_cards(child, nets): - if child['id'] == 'network': + if child['id'] == 'network' and "PCI:" in child.get("businfo"): nets.append(child) if child.get('children'): [get_network_cards(x, nets) for x in child['children']]