Fortinet WebFlorms AutoFill

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Fortinet WebFlorms AutoFill

L0 Member

I have trying to get the PVWA to auto populate the password using the webforms function.

 

Below works for the username:

username>{Username}(searchby=name)

 

But for password I have tried the below:

  • /html/body/fos-login-root/fos-login/nu-prompt/div/div[2]/div/div/form/section/div/input>{Password}(searchby=xpath) error - "unable to parse error"
  • password>{Password}(searchby=type) error - "cant find"

 

Here is the element I have trying to clue off of but it doesnt work.

<input _ngcontent-ng-c754439514="" aria-label="Password input" autocomplete="new-password" class="validation-subject ng-star-inserted" type="password" placeholder="Password" style="">

 

This only started happening with the newest version of Fortinet 7.6.

1 accepted solution

Accepted Solutions

L4 Transporter

Hi,

You can try with this:

 

/html/body/fos-login-root/fos-login/nu-prompt/div/div^[2^]/div/div/form/section/div/input > {Password}(searchby=xpath)

 

Notice the ^ before [2^]

 

or:

 

In this link: (https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm?Highlight=psm%20web%20application) the valid values for SearchBy are: ID/Name/Class/Text/XPath.

 

by class:

.validation-subject > {Password}(searchby=class)

By XPath with attribute:

//input[@type='password'] > {Password}(searchby=xpath)

 

 

You can also add a small wait before the password field:

username > {Username}(searchby=name)

(Wait=2)

//input[@type='password'] > {Password}(searchby=xpath)(sendslow=1)

 

Let us know which one works!

View solution in original post

3 REPLIES 3

L2 Linker

Hello! When you configured it to use xpath, did you insert the "^" before all the "[" and "]"?

In the CC configuration, you always need a ^ before any [ or ].

L4 Transporter

Hi,

You can try with this:

 

/html/body/fos-login-root/fos-login/nu-prompt/div/div^[2^]/div/div/form/section/div/input > {Password}(searchby=xpath)

 

Notice the ^ before [2^]

 

or:

 

In this link: (https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm?Highlight=psm%20web%20application) the valid values for SearchBy are: ID/Name/Class/Text/XPath.

 

by class:

.validation-subject > {Password}(searchby=class)

By XPath with attribute:

//input[@type='password'] > {Password}(searchby=xpath)

 

 

You can also add a small wait before the password field:

username > {Username}(searchby=name)

(Wait=2)

//input[@type='password'] > {Password}(searchby=xpath)(sendslow=1)

 

Let us know which one works!

L0 Member

Thanks for the help. That was the part I was missing.

  • 1 accepted solution
  • 106 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!