Feature Request - Meterpreter download: Store Full Path and Display Download Status
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start at the Meterpreter download command and review how its existing recursive (-r) option handles destination paths. Define the expected central download location, full target-path representation, special-character handling, and progress output; done means downloads preserve their source paths and show an updating byte count and percentage.
Written by the indexing model from the issue text.
Description
*** Feature Request/Enhancement ***
Other tools (ex. Empire, CANVAS, others) when performing a file download from your shell, will automatically download the file to a central downloads directory and recreate the full path to the location of that file. This is very helpful since later you will always know where the file came from and if there are files with duplicate names across different directories or targets, there's no concern about overwriting when downloading. So for example one way this could work is if you issue a download for C:\windows\win.ini in a meterpreter session on RHOST 192.168.1.1, it would look as such:
meterpreter > pwd
C:\Windows
meterpreter > download win.ini
[*] downloading : win.ini
[#######################] 100% (387 of 387 bytes)
[*] downloaded : win.ini -> ~/.msf4/loot/downloads/192.168.1.1/C:/Windows/win.ini
If directory names on the target contain special characters, unicode, control characters, etc.. that would have to be accounted for so it can be written correctly to the msf host filesystem. The bar of hash marks and percentage shown above would increment acting as a status indicator of the percentage download and display an updating byte count downloaded out of the total.
I think this feature would greatly enhance the download function in Meterpreter and combined with the already existing recursive feature (-r), would really add value to that feature as well if you downloaded a large directory structure.
- Dominant language
- Ruby
- Stars
- 39k
- Forks
- 15k
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 32
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rapid7/metasploit-framework
-
suggestion-docs
Difficulty 1/5 Under an hour Newbie friendliness 88/100
rapid7/metasploit-framework#21669 · 2 comments · 1 reaction ·
-
suggestion-docs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
rapid7/metasploit-framework#21503 · 2 comments ·
-
suggestion-docs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rapid7/metasploit-framework#20663 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
rapid7/metasploit-framework#21919 ·
-
suggestion-module
rapid7/metasploit-framework#21907 · 1 comment · 1 assignee ·
All issues in rapid7/metasploit-framework
Similar issues
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TheOdinProject/curriculum#31402 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100