From a22cbed69fc82f5aedddab905da551a706320eb2 Mon Sep 17 00:00:00 2001 From: Yigitcan Alanyali Date: Thu, 13 Jan 2022 23:04:32 +0100 Subject: [PATCH] fix: device not found Added a delay on get_usb_device, which should fix most of the "device not found" issues. Related issue: https://github.com/frida/frida/issues/1111#issuecomment-563698747 --- dump_keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump_keys.py b/dump_keys.py index 62afc95..6979f34 100644 --- a/dump_keys.py +++ b/dump_keys.py @@ -11,7 +11,7 @@ level=logging.DEBUG, ) -device = frida.get_usb_device() +device = frida.get_usb_device(1) scanner = Scan(device.name) logging.info(f'Connected to {device.name}') logging.info('scanning all processes for the following libraries')