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

Unable to add persistence hook due to missing permission #134

Closed mechaadi closed 6 years ago

mechaadi commented 6 years ago

help me with is, I made an app with android studio today and generated a signed apk but unfortunately something is not working properly

[*] Generating RAT APK file...done. [*] Decompiling original APK file...done. [*] Decompiling RAT APK file...done. [*] Merging permissions of original and payload projects...done. [*] Running proguard on RAT APK file...done. [*] Decompiling obfuscated RAT APK file...done. [*] Creating new directories in original project for RAT smali files...done. [*] Copying RAT smali files to new directories in original project...done. [*] Fixing RAT smali files...done. [*] Obfuscating const-string values in RAT smali files...unable to write 'random state done. [*] Locating smali file to hook in original project...done. [*] Adding hook in original smali file...done. [+] Unable to add persistence hook due to missing permission [*] Recompiling original project with backdoor...done. [!] Failed to recompile original project with backdoor

lrun.log

Dylan433447 commented 6 years ago

same here

mechaadi commented 6 years ago

Hey try this #10033

10033

chanda1998 commented 6 years ago

where to add this #10033

mechaadi commented 6 years ago

https://github.com/rapid7/metasploit-framework/issues/10033