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

Tab-complete for file downloads #15846

Merged
merged 1 commit into from Nov 9, 2021
Merged

Conversation

smashery
Copy link
Contributor

@smashery smashery commented Nov 9, 2021

This adds tab completion support for the file download command on meterpreter. Most other file-based commands (e.g. cat, move, rm, chmod) already supported this; this just uses the same code path for downloading files.

Verification

  • Run msfconsole
  • Launch meterpreter (on various systems)
  • Type download
  • Tab-complete a file path and filename

@timwr timwr self-assigned this Nov 9, 2021
@timwr timwr merged commit 1a2ff7f into rapid7:master Nov 9, 2021
@timwr
Copy link
Contributor

timwr commented Nov 9, 2021

Working nicely on a windows meterpreter session

meterpreter > ls
Listing: Z:\test2
=================

Mode              Size  Type  Last modified              Name
----              ----  ----  -------------              ----
100666/rw-rw-rw-  2     fil   2021-11-09 16:51:37 +0000  lol

meterpreter > download lol
...

@gwillcox-r7 gwillcox-r7 added the rn-enhancement release notes enhancement label Nov 9, 2021
@gwillcox-r7
Copy link
Contributor

Release Notes

The download command has been updated so that now supports tab completion for file paths and file names.

@smashery smashery deleted the tab_complete_download branch November 11, 2021 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants