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

I don't understand how to recompile from scratch android meterpreter from source code #19379

Open
Admin9961 opened this issue Aug 10, 2024 · 2 comments
Labels
question Questions about Metasploit Usage Stale Marks an issue as stale, to be closed if no action is taken

Comments

@Admin9961
Copy link

Admin9961 commented Aug 10, 2024

I was looking at https://github.com/rapid7/metasploit-payloads/tree/master/java , where I found some docs for the Java/Android meterpreter, I opened a raw .apk payload in android studio but I can just debug... What I'm missins is: how do metasploit do generate the apk?

Let's say I don't want to use msfvenom, how to generate the payload without it? Is the original android met. source code just meant to work with msfvenom? I can't even find the build.gradle dependancy

@Admin9961 Admin9961 added the question Questions about Metasploit Usage label Aug 10, 2024
@timwr
Copy link
Contributor

timwr commented Aug 12, 2024

The options from msfvenom are inserted into the final apk here:

https://github.com/rapid7/metasploit-framework/blob/master/lib/msf/core/payload/android.rb#L140

Copy link

Hi!

This issue has been left open with no activity for a while now.

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

@github-actions github-actions bot added the Stale Marks an issue as stale, to be closed if no action is taken label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions about Metasploit Usage Stale Marks an issue as stale, to be closed if no action is taken
Projects
None yet
Development

No branches or pull requests

2 participants