Merge branch 'fix-escape-sequence' into 'master'

Fix escape sequence

See merge request zlax/sshch!2
This commit is contained in:
ivan 2024-04-05 11:18:39 +00:00
commit fc9640a491
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def ConvertPassword(password):
elif char == '"':
password_string += "''"+'"'+"''"
elif char == ';':
password_string += "'"+"\;"+"'"
password_string += "'"+r'\;'+"'"
elif char == "\\":
password_string += "'"+'"'+"\\"+"\\"+'"'+"'"
else: