dana-at-cp / backdoor-apk

backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.
Apache License 2.0
2.17k stars 699 forks source link

Failed to locate smali file to hook #111

Closed CampBlanc closed 7 years ago

CampBlanc commented 7 years ago

Hi,

I tried this but it created an error:

image

What's the problem here?

Thanks in advance!

dana-at-cp commented 7 years ago

@Patrickology I'm guessing the APK file is malformed. Did the APK file come from the Google Play store?

CampBlanc commented 7 years ago

No it didn't..

dana-at-cp commented 7 years ago

@Patrickology Please attach the APK file giving you trouble.

PunkHack commented 7 years ago

Hi @dana-at-cp, i have the same error trying to create a backdoor in the facebook messenger.

I'm also tried whit another apk, this time was the notebok_V7 (downloaded from this page https://apkpure.com/notebook/mml.RapidNotes.android/download?from=details) and doesn't work either. This is the error: [*] Aligning recompiled APK...done. [!] Failed to align recompiled APK

CampBlanc commented 7 years ago

I can't even remember which apk it was, not from the Playstore anyway. No worries about it bro

dana-at-cp commented 7 years ago

@Patrickology I reran some tests today with v0.2.2. and its working on APK files that I obtained from the Play Store.

Unofficial APK files cannot be supported since there are a number of things that could be wrong with those samples.