Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotplugging usb device not recognized with enumerate_devices() #189

Open
Nriver opened this issue Nov 9, 2021 · 0 comments
Open

hotplugging usb device not recognized with enumerate_devices() #189

Nriver opened this issue Nov 9, 2021 · 0 comments

Comments

@Nriver
Copy link

Nriver commented Nov 9, 2021

If a usb device is plugged in after import frida, the device won't show up in frida.enumerate_devices(). It's reproducible with the interactive shell.

A workaround is to reload frida every time before getting the devices which seem to be a dirty hack.

import importlib
importlib.reload(frida)
devices = frida.enumerate_devices()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant