#Directory to shell commands (dir2sh)

7 messages · Page 1 of 1 (latest)

pulsar swallow
#

wtf

unreal crypt
#

cursed but it works

random jungle
#

I really, and I mean really didn't expect you to just encode files as base64...

random jungle
#

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

south estuary
#

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.
pulsar swallow
#

Yep, I added a hint that 100kb take 6secs which is still less than writing scp commands imo.
how long did it take you to write this lol

#

just like learn the commandsl ol