don't call androguard when not necessary
This commit is contained in:
parent
56534b6576
commit
9f9593e505
1 changed files with 10 additions and 8 deletions
|
|
@ -89,6 +89,8 @@ def check_app_result(
|
||||||
dex = DEX(dex_bin)
|
dex = DEX(dex_bin)
|
||||||
classes_by_cl[cl_id].extend(dex.get_classes())
|
classes_by_cl[cl_id].extend(dex.get_classes())
|
||||||
|
|
||||||
|
# Don't do androguard scan when there is no other dynloading
|
||||||
|
if len(data["dyn_code_load"]) != 0:
|
||||||
apk_name = f"{path.name}.apk"
|
apk_name = f"{path.name}.apk"
|
||||||
apk = APK(str(app_folder / apk_name))
|
apk = APK(str(app_folder / apk_name))
|
||||||
cl_id = data["apk_cl_id"]
|
cl_id = data["apk_cl_id"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue