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

Update reverse_tcp.md, improper switches #18524

Merged

Conversation

bradyjackson
Copy link
Contributor

@bradyjackson bradyjackson commented Nov 10, 2023

Improper usages of switches are presented in the documentation for the android meterpreter payload reverse_tcp. The example given for generating an APK file from the msfconsole showed two errors.

The example given in the documentation for generating a meterpreter payload apk file from the msfconsole was "generate -t raw -f /tmp/android.apk" This example, when executed, results in a return of the command manual page due to improper command usage.

The correct command to generate a raw format payload with a "/tmp/android.apk" filename designation would be "generate -f raw -o /tmp/android.apk"

TLDR; In line 40 of reverse_tcp.md replace "-t' with "-f" and replace "-f" with "-o".

Improper usage of switches presented in documentation
@adfoster-r7 adfoster-r7 merged commit 04361e1 into rapid7:master Nov 13, 2023
34 checks passed
@adfoster-r7 adfoster-r7 added the rn-documentation release notes for Metasploit Framework documentation label Nov 13, 2023
@adfoster-r7
Copy link
Contributor

Release Notes

Updates the modules/payload/android/meterpreter/reverse_tcp.md example to use the correct flags when generating a payload

@adfoster-r7
Copy link
Contributor

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-documentation release notes for Metasploit Framework documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants