abhi-r3v0 / Adhrit

Android Security Suite for in-depth reconnaissance and static bytecode analysis based on Ghera benchmarks.
https://www.hawkspawn.com/Adhrit
GNU General Public License v3.0
535 stars 129 forks source link

error #5

Closed kobo90 closed 6 years ago

kobo90 commented 6 years ago

Traceback (most recent call last): File "adhrit.py", line 144, in main() File "adhrit.py", line 103, in main adhrit.apkripper(args.a) File "adhrit.py", line 42, in apkripper apk_rip(apk_name) File "/root/Adhrit/recons/apk_recon.py", line 12, in apk_rip apk = zipfile.ZipFile(apk_name, 'r') File "/usr/lib/python2.7/zipfile.py", line 770, in init self._RealGetContents() File "/usr/lib/python2.7/zipfile.py", line 811, in _RealGetContents raise BadZipfile, "File is not a zip file" zipfile.BadZipfile: File is not a zip file

abhi-r3v0 commented 6 years ago

Hi, Could you verify the file being used? Is it an APK file? Also, make sure the APK file isn't corrupt.