meterpeter icon indicating copy to clipboard operation
meterpeter copied to clipboard

Download & Upload not working

Open ghost opened this issue 4 years ago • 5 comments

i tried to download files from remote host , and uploading files none of them works

ghost avatar Mar 23 '20 19:03 ghost

To use 'download' or 'upload' modules we need to input the File 'Absoluct Path' Video tutorial showing download/upload function: https://youtu.be/5_VLBWYUuJ8?t=362

Also remmenber that the upload working directory its were client has been executed
and download working directory its were meterpeter.ps1 has been executed ..

So.. if the client its executed inside %tmp% directory, its were our upload goes. and if meterpeter its executed in %userprofile%\Desktop\meterpeter, its were the downloads goes.

Final Notes

If you need to upload to a diferent location ... then first change Client working dir to the place you want your file to be uploaded, then use the upload module ..How To Display|Change 'Client' Working Directory

r00t-3xp10it avatar Mar 24 '20 16:03 r00t-3xp10it

Thank you , but also can i download a file if its name is like L1 - Arrays.pdf with spaces .. thank you!!

ghost avatar Mar 24 '20 17:03 ghost

i have never try that with spaces .. so i dont know if it works or fails ..

you can try using 'single quotes' to download/upload that kind of paths.. - Download Remote File: $env:programfiles\'my folder'\'my program.exe'

r00t-3xp10it avatar Mar 24 '20 17:03 r00t-3xp10it

Screenshot_4

hung ... hangs for 20 minutes already)

Ondrik8 avatar Jul 22 '20 17:07 Ondrik8

Uploading large files (binarys.exe) using TCP its super slow (not only in meterpeter)...

because this kind of reverse shells are not meant to deal with large data tranfers ... they are intent to be one fast access to remote system (shell) ...

Its better to start uploading small file sizes to test if it really hangs ...

r00t-3xp10it avatar Jul 27 '20 19:07 r00t-3xp10it