Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to align Recompiled APK #94

Open
DonotCall opened this issue Dec 7, 2021 · 2 comments
Open

Failed to align Recompiled APK #94

DonotCall opened this issue Dec 7, 2021 · 2 comments

Comments

@DonotCall
Copy link

[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] 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
Copy link

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

@BrazilianMafia
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants