jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.26k stars 232 forks source link

get command unable to download file with spaces in its name #136

Closed iriscot closed 2 years ago

iriscot commented 2 years ago

Considering this framework have so many cool features, it's a shame it cannot handle spaces in filenames! Quotes and slash-escaping doesn't help. The command just shows usage when the filename with spaces passed as argument:

get File with spaces.bin
get <remote path>
jm33-m0 commented 2 years ago

Thanks for reporting, I will work on a fix

jm33-m0 commented 2 years ago

Now get can handle file paths with spaces, but not yet for mv, cp and put. I will consider supporting \ or quotes in future versions.

jm33-m0 commented 2 years ago

image

@iriscot Now emp3r0r supports ' quoted and \ escaped commands, if you find any bugs with my implementation, please open a new issue.