hide-password
Obfuscates (encodes) a password so that it can be written in a file and not be easily recovered.
Syntax:
shell
sfiler [options] hide-passwordExamples:
The command has no option for the password to hide: it asks you to enter it, then displays the hidden password. This command does not require authentication: the -l, -p and -s options are not needed.
shell
./sfiler.sh hide-password
Enter the password to obfuscate :
Hidden password: YJYDon5vD8W8UQUiBplr3l1ahQ6jawFjshell
sfiler.exe hide-password
Enter the password to obfuscate :
Hidden password: YJYDon5vD8W8UQUiBplr3l1ahQ6jawFjBelow is an example of how to use your hidden password in a CLI script.
You now use the -op option instead of -p for the password; the rest of the command is unchanged.
shell
./sfiler.sh -l "my-user" -op C43jJQGo79rJbUeqayf06IOXYPGHE1PV -s https://www.example.com/sfiler/server/ upload -d "Marketing" "my-file.txt"shell
sfiler.exe -l "my-user" -op C43jJQGo79rJbUeqayf06IOXYPGHE1PV -s https://www.example.com/sfiler/server/ upload -d "Marketing" "my-file.txt"