iagox86 / dnscat2

BSD 3-Clause "New" or "Revised" License
3.43k stars 601 forks source link

could u tell me how to download file from client to server #100

Closed CrystalSober closed 8 years ago

CrystalSober commented 8 years ago

i succeed making the dos tunnel. but could u please tell me how to use the download order. when i use download [to] . it return "error opening file for reading" thank u very much

iagox86 commented 8 years ago

You want to use "download [filename]", as you're doing.

Because of the shell parsing, slashes are weird. A few things to try:

Single quotes: download '/path/to/file'

Double up backslashes: download c:\path\to\file

Double up backslashes and quotes: download "c:\path\to\file"

One of those should work! You might also want to add a destination:

download '/path/to/file' '/tmp/file'

On Wed, Sep 14, 2016 at 5:20 AM, CrystalSober notifications@github.com wrote:

i succeed making the dos tunnel. but could u please tell me how to use the download order. when i use download [to] . it return "error opening file for reading" thank u very much

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iagox86/dnscat2/issues/100, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgITOQUHlw2FtBg0Bqs50PDjoW3EdMKks5qp-Z-gaJpZM4J8tUx .

CrystalSober commented 8 years ago

thank you very much. i tried as you said and got succeed. in the version i download the order should be: download 'C:\Users\cccsober\Desktop\dir\txt_in_file.txt'

thank you very much.