diff --git a/exodus_core/analysis/static_analysis.py b/exodus_core/analysis/static_analysis.py index 7fe82a7..5aa2022 100644 --- a/exodus_core/analysis/static_analysis.py +++ b/exodus_core/analysis/static_analysis.py @@ -4,23 +4,26 @@ import os import re import subprocess +import sys import zipfile from collections import namedtuple -from future.moves import sys from hashlib import sha256, sha1 from tempfile import NamedTemporaryFile, TemporaryDirectory import dhash import requests import six -from androguard.core.bytecodes import axml -from androguard.core.bytecodes.apk import APK +from androguard.core import axml +from androguard.core.apk import APK +from androguard.util import set_log from cryptography.x509.name import ObjectIdentifier, _NAMEOID_DEFAULT_TYPE, _ASN1Type, NameAttribute from PIL import Image PHASH_SIZE = 8 +set_log("INFO") + def which(program): def is_exe(fpath): return os.path.isfile(fpath) and os.access(fpath, os.X_OK) diff --git a/requirements.txt b/requirements.txt index 17f8df0..68e1d47 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -androguard==3.3.5 +androguard==4.0.2 cryptography==41.0.6 dhash==1.4 jellyfish==0.5.6 diff --git a/setup.py b/setup.py index b566223..aff4313 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ sys.exit(1) install_requires = [ - 'androguard==3.3.5', + 'androguard==4.0.2', 'cryptography==41.0.6', 'dhash==1.4', 'jellyfish==0.5.6',