#Directory to shell commands (dir2sh)
7 messages · Page 1 of 1 (latest)
cursed but it works
I really, and I mean really didn't expect you to just encode files as base64...
No I meant literally... I expected you to use ssh command to upload files directly and create folders when needed and...
This method can really only work on small files
Very specific use case I mean.
- Not secure for copying secrets (sharing secrets with host clipboard and remote bash history).
- Annihilate your remote server bash history. Even on non heavy folders (if they contains lot of small files). Try using spaces before bash commands, this way you won't polute your remote server bash history.
- Not reliable for big folders obviously.
- And above all, this is a one way command usage, you cannot copy remote folders to your host. Unless also sharing the remote clipboard through ssh which is a pain.