skip AndroidManifest.xml and resources when fetching v2+ certs

This commit is contained in:
Hans-Christoph Steiner 2024-04-19 23:16:59 +02:00
parent 6f5fd2b132
commit a8fd360a88
1 changed files with 2 additions and 2 deletions

View File

@ -2661,7 +2661,7 @@ def _androguard_logging_level(level=logging.ERROR):
pass
def get_androguard_APK(apkfile):
def get_androguard_APK(apkfile, skip_analysis=False):
try:
# these were moved in androguard 4.0
from androguard.core.apk import APK
@ -2669,7 +2669,7 @@ def get_androguard_APK(apkfile):
from androguard.core.bytecodes.apk import APK
_androguard_logging_level()
return APK(apkfile)
return APK(apkfile, skip_analysis=skip_analysis)
def ensure_final_value(packageName, arsc, value):