SSH Login wizard
Posted: Wed Jun 11, 2014 2:51 pm
I was trying out the SSH Login wizard and managed to break it.
Under 'Login Details', I entered a password with an exclamation mark in it. The wizard split the password and put the first part (winging this from memory) in $ARG2$, the 2nd half in $ARG3$ and the string to look for in $ARG4$ which was not used by the script. The check failed with an invalid return code. I went into the CCM and fixed the check variables and verified that the script works with the repaired variable settings. I did *not* try putting single or double quotes around the password in the wizard so (if the wizard can't catch and compensate for shell chars in the password) I don't know whether or not there needs to be instructions to do so under the password input field.
Under 'Login Details', I entered a password with an exclamation mark in it. The wizard split the password and put the first part (winging this from memory) in $ARG2$, the 2nd half in $ARG3$ and the string to look for in $ARG4$ which was not used by the script. The check failed with an invalid return code. I went into the CCM and fixed the check variables and verified that the script works with the repaired variable settings. I did *not* try putting single or double quotes around the password in the wizard so (if the wizard can't catch and compensate for shell chars in the password) I don't know whether or not there needs to be instructions to do so under the password input field.