[PAM] Demonstration of Transparent Login Agent Script when CONTROL is not detected


Article ID: 196698


Updated On:


CA Privileged Access Manager (PAM)


Transparent Login Agent is able to detect the CONTROL objects (such as the input field, buttons and etc) only when the software is using Microsoft Standard Graphics Class.

As more and more softwares are using custom classes Learn Tool is unable to find the username, password, hostname and submit button controls.

This KB article is to demonstrate how customers can write their Transparent Login Agent Script even when the controls are not detected.

This does not mean Broadcom takes responsibility for the demonstrated script. It is only for demonstration and knowledge sharing purpose.

If you need help writing Transparent Login Agent Script, please contact your Broadcom Account Manager to involve Services Team.


In this demonstration, Check Point Smart Console 80.40 will be used as the controls are not recognized by Learn Tool.

In the following image, [Window] elements are recognized.

In the following image, [Control] elements are not recognized. As a result, you will not be able to mark which control element is for username and which one is for hostname.


Release : 3.x



Althogh the [Control] side is not recognized, you can always send key combinations such as [TAB] and [ENTER] or [SPACE] to submit actions.

From observation, Smart Console requires some time after launch to display the username input field.

When writing Transparent Login Agent Script you always need to be cautious as there is a risk of exposing password in clear-text.

In that case you can take a screenshot on a portion of the screen that confirms user input fields are ready.

Following image shows part of Username input field which would only appear when it is ready to accept input.

The screenshot gets added to the script as <checkimg content=xxxx> and this will pause the script until the matching screen appears on screen.


And from observation, the key input focus was already at the Username field.

So you just need to submit the [Username], [TAB], [Password], [TAB], [Host], [TAB], [TAB], [TAB] and finally the focus is on the "LOGIN" button and you can click on it by pressing [SPACE].


Now you have all the information you need to complete the Transparent Login Agent Script.

Following is a sample. Just for security purpose I added a 3 seconds delay before the script starts populating the credentials.

<window id="">
  <checkimg content="iVBORw0KGgoAAAANSUhEUgAAAHgAAACUCAMAAABvPB0ZAAABOFBMVEUXHyz39/fS1dn////Z2dm1tbXv7++AgIA5OTns7Oy/v79DQ0MzMzOZmZn8/PzPz8+Dg4PS0tJQUFBZWVm5ubm8vLyysrL5+fk2Njbf39/MzMycnJyfn59jY2OQkJBNTU1AQEDi4uLJyclWVlasrKxJSUmpqal9gYmBhYxtbW3CwsJgYGCvr695foX7+/xja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sO9qYTv07+UTxxvVwlbofeWv2G1tRzls8PdWf8Md71lYbzlq4Z64xbzFLe9HQy3M20mUbf9pbMVdnZxR4e/JcEcp/ONnIryrFCb1JFcnamHybT9m0c1fv4lq+JRBGGGExwZLy4TAEoMwwghLyx+7T+ONjZX+vQAAAABJRU5ErkJggg=="/>
  <sleep time="3000"/>
  <send username="true" id="window"/>
  <send text="{TAB}" id="window"/>
  <send password="true" id="window"/>
  <send text="{TAB}" id="window"/>
  <send host="true" id="window"/>
  <send text="{TAB}" id="window"/>
  <send text="{TAB}" id="window"/>
  <send text="{TAB}" id="window"/>
  <send text="{SPACE}" id="window"/>

CheckPoint-SmartConsole-8040.gif has been attached demonstrating the script in action.


1596715316067__CheckPoint-SmartConsole-8040.gif get_app