Merge branch 'fix-escape-sequence' into 'master'
Fix escape sequence See merge request zlax/sshch!2
This commit is contained in:
commit
fc9640a491
|
@ -84,7 +84,7 @@ def ConvertPassword(password):
|
||||||
elif char == '"':
|
elif char == '"':
|
||||||
password_string += "''"+'"'+"''"
|
password_string += "''"+'"'+"''"
|
||||||
elif char == ';':
|
elif char == ';':
|
||||||
password_string += "'"+"\;"+"'"
|
password_string += "'"+r'\;'+"'"
|
||||||
elif char == "\\":
|
elif char == "\\":
|
||||||
password_string += "'"+'"'+"\\"+"\\"+'"'+"'"
|
password_string += "'"+'"'+"\\"+"\\"+'"'+"'"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue