ROOTPLOIT
Server: Apache
System: Linux node6122.myfcloud.com 6.14.3-x86_64-linode168 #1 SMP PREEMPT_DYNAMIC Mon Apr 21 19:47:55 EDT 2025 x86_64
User: bashacomputer (1004)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/doc/imapsync/FAQ.d/FAQ.Passwords_on_Windows.txt
#!/bin/cat
$Id: FAQ.Passwords_on_Windows.txt,v 1.5 2018/06/11 22:35:10 gilles Exp gilles $

This document is also available online at
https://imapsync.lamiral.info/FAQ.d/
https://imapsync.lamiral.info/FAQ.d/FAQ.Passwords_on_Windows.txt


=======================================================================
             Imapsync issues with passwords on Windows.
=======================================================================

Related documentation:

http://www.robvanderwoude.com/escapechars.php
http://stackoverflow.com/questions/3288552/how-can-i-escape-an-exclamation-mark-in-cmd-scripts

In case you're brave and relentless, understand and try this:
http://www.dostips.com/forum/viewtopic.php?f=3&t=1733

=======================================================================
Q. On Windows, some passwords contain $ or other special characters
   like one more more of the nine characters $%&<>|^"! 
   Login fails. 

   
R0. Change the password so that only normal characters remain.
    It's often a quick and good solution. If you care about
    strong password policy, just make it longer.
    If you can't avoid special characters use no problematic
    characters such as underscore _ or minus - or comma , or dot.
    If you can't change passwords then read on and good luck!

R1. Enclose passwords between ""

    imapsync ... --password1 "zzz$zz$$z"

R2. Prefix each $ character with a ^ since ^ is the escape character
    on Windows

    imapsync ... --password1 zzz^$zz^$^$z

For a password that is exactly the 8 characters string $%&<>|^"
you have to enter

    imapsync ... --password1 "$%%&<>|^"^"

The exclamation mark ! does not have to be escaped sometimes,
so have a try.

=======================================================================
Q. On Windows, some passwords begin with an equal = character. 
   Login fails. What can I do?

R. Use twice equals == characters instead; For example, if =secret 
   is the password then use:

    imapsync ... --password1 ==secret

or even

    imapsync ... --password1 "==secret"

=======================================================================
=======================================================================