Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to pass a password with special characters to Windows? - SOLVED
On Fri, Jan 17, 2025, at 8:14 PM, zsh@xxxxxxxxxxx wrote:
> With your input, I was able to find the winning combination:
Good to hear it.
> mount -t smbfs //username:****"%5E"*******"%25""%29"@10.0.0.23/D
> /Users/Shared/Windows-D\
While that quoting is valid, it's pretty unorthodox (and, frankly,
hideous). It would be more sensible to just single-quote the whole
thing so you don't have to worry about zsh interpreting any special
characters anywhere in the path:
'//username:****%5E*******%25%29@10.0.0.23/D'
> On 1/17/25 4:12 PM, Lawrence Velázquez wrote:
>> On Fri, Jan 17, 2025, at 3:29 PM, zsh@xxxxxxxxxxx wrote:
>>> 3. A password on the Windows machine that cannot be changed, and
>>> contains three special characters. The password, with the letters and
>>> numbers obfuscated is: ****^*******%) (all * are either numbers or
>>> letters).
>>
>> What's the third special character?
Oh I see, the third character is ")". I'd assumed that was closing
a parenthetical phrase.
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author