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

代码优化建议,减少设备检测数量 #47

Open
xk-mt opened this issue Jul 17, 2023 · 1 comment
Open

代码优化建议,减少设备检测数量 #47

xk-mt opened this issue Jul 17, 2023 · 1 comment

Comments

@xk-mt
Copy link

xk-mt commented Jul 17, 2023

在脚本“device.py”文件,第43行如下
devices = list(filter(lambda d: not d.name.lower().startswith("local"), frida.enumerate_devices()))
会检测处其他无用设备,建议优化如下
devices = list(filter(lambda d: (not d.name.lower().startswith("local")) and (d.type=="usb"), frida.enumerate_devices()))
增肌一个type的usb判定,但未测试adb无线连接是否可行等问题,暂还不熟悉frida使用方法,感觉该脚本非常naisi

@xk-mt xk-mt changed the title 优化建议,减少设备检测数量 代码优化建议,减少设备检测数量 Jul 17, 2023
@xk-mt
Copy link
Author

xk-mt commented Jul 17, 2023

经测试adb无线连接的type也显示usb
image

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