Passwords with brackets in them don't enter correctly from Macro

Resolved

Passwords with brackets in them don't enter correctly from Macro

avatar

I want to automate login to https://adminconsole.adobe.com/ but injecting the username and password directly doesn't trigger the change check script so clicking Continue just gets a message about needing to enter an email.

I implemented it as a macro After Open: $USERNAME${TAB}{DELAY}{ENTER}{DELAY}{DELAY}{DELAY}{DELAY}$PASSWORD${TAB}{TAB}{TAB}{ENTER}

Ignoring how horribly slow the website is, the password goes in wrong. What's more it's always the same wrong. The password was generated and includes brackets. It has an opening { and a closing ). The characters between those brackets don't get typed into the password box. I fear this will be a problem anywhere macros are used and passwords are allowed to contain brackets.

When injected into the form, the password is correct. Unfortunately, if I do that the page reckons I haven't typed anything in and immediately tells me I'm wrong if I try to submit it either manually or automatically.

All Comments (4)

avatar

I got the password wrong so many times that it forced me to change it. I generated one without brackets, but I'm now seeing that + and ~ are also not typed. Although |, *, and ? are.

Since there's an "Exclude the following characters" box in the password generator, I'm fine doing that if I know what is and isn't RDM macro-safe.

avatar

Hello,

Thank you for contacting us on that matter!

We do not recommend the use of macros to inject your credentials on your web pages. More details on this can be found here: https://docs.devolutions.net/kb/remote-desktop-manager/how-to-articles/entry-types-events-settings/event-auto-typing-macro/#typing-macro

The best alternative would be to set the display of your web entry to "External" and use the Devolutions Web Login extension to fill in your credentials.
https://devolutions.net/web-login/

Best regards,

James Lafleur

avatar

I try to avoid macros, but some websites are just horrible with their login screens.

I think what's happening is that your macro is expanding out the username and password variables before processing the special macro codes.

Meanwhile, I have set up an external entry, now that we use Password Hub and Web Login. It's still really prefer the page to load in an RDM tab, not launch a browser. I'll adapt our setup instructions to include installing Web Login for all installed browsers.

avatar

Hello,

Thank you for your swift reply!

I understand that having all your websites in RDM might be more convenient but, as you mentioned, some websites offer challenges that can only be worked around using your native browser and the DWL extension.

Best regards,

James Lafleur