variable $PASSWORD$ does not work if password itself ends with $-sign
Hi,
I have a password that ends with a dollar sign.
If I then use the variable $PASSWORD$ it won't work, this means instead of the password itself it uses the word $PASSWORD$.
If I change the password so that it does not ends with a dollar-sign it works fine.
Conclusion; I cannot ue my password.
Hello,
Which version of RDM are you using?
And could you detail in which scenario the $PASSWORD$ variable does not resolve?
Best regards,
David Grandolfo
Hi,
I'm evaluating the Free edition 5.1.3.0 64bit.
Just take a Command line item (External Application)
Fill in a password that ends with a $ in the password field under the tab Host and Credentials.
(I also filled in the Host and Username...)
Under the general tab, under arguments I used -addr $HOST$ -name $USERNAME$ -password $PASSWORD$
This works fine if the password itself does not ends with a $
If the password ends with a $, then the translation is not done and then takes the word $PASSWORD$ instead of the content of that field.
Hi,
Unfortunately I'm not able to reproduce the issue. Could you look at my steps if they are similar as yours.
The entry configuration:
I use parrot.bat script which shows the arguments.
The script contains :@echo offecho.echo.echo Username and Password are: %*echo.echo.pause
Under Security, I enable Allow password in variable.
When I run it the result is:
Is it possible that a combination of special character could cause the issue?
Which other special characters have you?
Best regards,
David Grandolfo
Command_Line_result.png
Command_Line.png
I fill in Host: test1, in Username: test2 and in password: test3
I use in arguments : -addr $HOST$ -name $PASSWORD$
Result: Host shows test1 (is ok) Username shows $PASSWORD$ (not ok)
I use, for testing purposes, the -name field to show the content (password field is invisible)
Now, it completely won't work? Even without 4-sign?
See attachments.
pic1_2.png
pic1_1.png
Hi,
In the property of the entry, under Security, does allow password in variable is checked?
Regards,
David Grandolfo
Allow_Password.png
Hi,
Yes I forgot this one. (Therefore it even didn't work at all.)
But this weekend I'm sure I tested on a item and it did not worked with the dollar and worked fine without one.
I can't find it anymore... Sorry.
Hi,
Just to confirm is the issue still there or with a new entry, it works?
Best regards,
David Grandolfo
Yes,
It works fine now.
Thanks.
Hi,
Thanks, I'm glad that it works fine.
Regards,
David Grandolfo