M4sc3r4n0 / Evil-Droid

945 stars 401 forks source link

Failed to align Recompiled APK #94

Open DonotCall opened 2 years ago

DonotCall commented 2 years ago

[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Generating apk payload [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Removing 1.apk framework file... [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Decompiling Original APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Decompiling Payload APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]rm: cannot remove 'Driving.apk.apk': No such file or directory

[] Adding permission and Hook Smali [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]rm: cannot remove '/home/parrot/Evil-Droid/payload/smali/com/metasploit/stage/MainActivity.smali': No such file or directory sed: can't read /home/parrot/Evil-Droid/payload/smali/com/metasploit/stage/.smali: No such file or directory sed: can't read /home/parrot/Evil-Droid/payload/smali/com/metasploit/stage/*.smali: No such file or directory

################################################################## inject Smali: androidx/multidex/MultiDexApplication.smali In line:13 ################################################################## [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Rebuilding Backdoored APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Checking for ~/.android/debug.keystore for signing... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Attempting to sign the package with your android debug key [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Verifying signed artifacts... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [*] Aligning recompiled APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]Zip alignment utility Copyright (C) 2009 The Android Open Source Project

Usage: zipalign [-f] [-p] [-v] [-z] infile.zip outfile.zip zipalign -c [-p] [-v] infile.zip

: alignment in bytes, e.g. '4' provides 32-bit alignment -c: check alignment only (does not modify file) -f: overwrite existing outfile.zip -p: memory page alignment for stored shared object files -v: verbose output -z: recompress using Zopfli [✔] Done. [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [!] Failed to align recompiled APK
SirKnightV commented 2 years ago

https://www.youtube.com/watch?v=uqOfQkI2E64

BrazilianMafia commented 1 year ago

same problem.... what is the solution? the video link is broken.