# US 2020/0394307 A1 · Web application login macro generation and verification

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394307 A1
- Document ID: US20200394307A1
- Status: Published application
- Kind: A1
- Application number: 16/437,962
- Filed: 2019-06-11
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Entit Software LLC
- Applicants: ENTIT Software LLC
- Inventors: Thomas Christopher Swedlund; Constantine Adarchenko
- Web page: https://patentgrep.com/patent/US20200394307A1

## CPC

- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 9/45512: {Command shells}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A login macro to automatically log into a web application running on a server computing device is generated from a provided username, a provided password, and a provided network address of the web application. The login macro can be generated regardless of whether the web application is logged into at a starting web page at the provided network address or at a sign-in web page navigable from the starting web page. After the login macro has been generated, that usage the login macro successfully results in logging into the web application running on the server computing device can be verified.

## Claims

### Claim 1

A method comprising:
generating, by a client computing device, a login macro to automatically log into a web application running on a server computing device, from a provided username, a provided password, and a provided network address of the web application; and
after generating the login macro, verifying, by the client computing device, that usage of the login macro successfully results in logging into the web application running on the server computing device.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the login macro comprises:
navigating to a starting web page at the provided network address of the web application; and
locating a login form at the starting web page.

### Claim 3 (depends on 2)

The method of claim 2, wherein locating the login form at the starting web page comprises:
locating one or more form markup language elements within a document object model for the starting web page;
determining whether any located form markup language element includes a username text field sub-element, a password text field sub-element, and a submit button sub-element; and
concluding that the login form has been successfully located responsive to determining that any located form markup language element includes the username text field sub-element, the password text field sub-element, and the submit button sub-element.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining whether any located form markup language element includes the username text field sub-element, the password text field sub-element, and the submit button sub-element comprises:
determining whether a given form markup language element located within the document object model includes a first text field sub-element having an associated label corresponding to a username regular expression; and
concluding that the given form markup language element includes the username text field sub-element responsive to determining that the given form markup language element includes the first text field sub-element.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining whether any located form markup language element includes the username text field sub-element, the password text field sub-element, and the submit button sub-element further comprises:
after concluding that the given form markup language element includes the username text field sub-element, determining whether the given form markup language element includes a second text field sub-element having an associated label corresponding to a password regular expression and located after the first text sub-element in the given form markup language element; and
concluding that the given form markup language element includes the password text field sub-element responsive to determining that the given form markup language element includes the second text field sub-element.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining whether any located form markup language element includes the username text field sub-element, the password text field sub-element, and the submit button sub-element further comprises:
after concluding that the given form markup language element includes the password text field sub-element, determining whether the given form markup language element includes a button sub-element having an associated label corresponding to a login regular expression and located after the second text sub-element in the given form markup language element; and
concluding that the given form markup language element includes the submit button sub-element responsive to determining that the given form markup language element includes the button sub-element.

### Claim 7 (depends on 3)

The method of claim 3, wherein generating the login macro further comprises, in response to successfully locating the login form at the starting web page:
creating a macro that automatically navigates to the starting web page, then automatically enters the provided username within the username text field sub-element of the login form and automatically enters the provided password within the password text field sub-element of the login, and finally automatically selects the submit button sub-element.

### Claim 8 (depends on 2)

The method of claim 2, wherein generating the login macro further comprises:
in response to unsuccessfully locating the login form at the starting web page, locating a sign-in web page navigable from the starting web page;
in response to successfully locating the sign-in web page, navigating to the sign-in web page; and
locating the login form at the sign-in web page.

### Claim 9 (depends on 8)

The method of claim 8, wherein locating the sign-in web page navigable from the starting web page comprises:
locating one or more anchor or button markup language elements within a document object model for the starting web page;
determining whether any located anchor or button markup language element corresponds to a sign-in element; and
concluding that the sign-in web page navigable from the starting web page has been successfully located responsive to determining that any located anchor or button markup language element corresponds to the sign-in element.

### Claim 10 (depends on 9)

The method of claim 9, wherein navigating to the sign-in web page comprises:
selecting a located anchor or button markup language element within the document object model that corresponds to the sign-in element.

### Claim 11 (depends on 9)

The method of claim 9, wherein determining whether any located anchor or button markup language element corresponds to the sign-in element comprises:
determining whether a given anchor or button markup language element located within the document object model has an associated label corresponding to a login regular expression; and
concluding that the given anchor or button markup language element corresponds to the sign-in element responsive to determining that the given anchor or button markup language element has the associated label.

### Claim 12 (depends on 8)

The method of claim 8, wherein locating the login form at the sign-in web page comprises:
locating one or more form markup language elements within a document object model for the sign-in web page;
determining whether any located form markup language element includes a username text field sub-element, a password text field sub-element, and a submit button sub-element; and
concluding that the login form has been successfully located responsive to determining that any located form markup language element includes the username text field sub-element, the password text field sub-element, and the submit button sub-element.

### Claim 13 (depends on 12)

The method of claim 12, wherein generating the login macro further comprises, in response to successfully locating the login form at the sign-in web page:
creating a macro that automatically navigates to the sign-in web page, then automatically enters the provided username within the username text field sub-element of the login form and automatically enters the provided password within the password text field sub-element of the login, and finally automatically selects the submit button sub-element.

### Claim 14 (depends on 1)

The method of claim 1, wherein verifying that the usage of the login macro successfully results in logging into the web application comprises:
running the login macro;
locating a sign-out element within a document object model for a web page at which running of the login macro ends; and
in response to successfully locating the sign-out element, concluding that the usage of the login macro successfully results in logging into the web application.

### Claim 15 (depends on 14)

The method of claim 14, wherein locating the sign-out element within the document object model comprises:
locating one or more anchor or button markup language elements within the document object model;
determining whether any located anchor or button markup language element corresponds to the sign-out element; and
concluding that the sign-out element has been successfully located responsive to determining that any located anchor or button markup language element corresponds to the sign-out element.

### Claim 16 (depends on 15)

The method of claim 15, wherein determining whether any located anchor or button markup language element corresponds to the sign-out element comprises:
determining whether a given anchor or button markup language element located within the document object model has an associated label corresponding to a logout regular expression; and
concluding that the given anchor or button markup language element corresponds to the sign-out element responsive to determining that the given anchor or button markup language element has the associated label.

### Claim 17 (depends on 1)

The method of claim 1, further comprising:
response to successfully verifying that the usage of the login macro successfully results in logging into the web application, running the login macro to log into the web application;
after logging into the web application, probing, by the client computing device, the web application to identify security vulnerabilities within the web application; and
in response to identifying any security vulnerabilities within the web application, modifying or reconfiguring the web application to ameliorate the identified security vulnerabilities.

### Claim 18

A non-transitory computer-readable data storage medium storing program code executable by a processor to perform processing comprising:
generating a login macro to automatically log into a web application running on a server computing device, from a provided username, a provided password, and a provided network address of the web application,
wherein generating the login macro comprises:
navigating to a starting web page at the provided network address of the web application;
locating a login form at the starting web page;
in response to unsuccessfully locating the login form at the starting web page, locating a sign-in web page navigable from the starting web page;
in response to successfully locating the sign-in web page, navigating to the sign-in web page; and
locating the login form at the sign-in web page; and
in response to successfully locating the login form at the sign-in web page, creating the login macro that automatically navigates to the sign-in web page, then automatically enters the provided username within the username text field sub-element of the login form and automatically enters the provided password within the password text field sub-element of the login, and finally automatically selects the submit button sub-element.

### Claim 19 (depends on 18)

The non-transitory computer-readable data storage medium of claim 18, wherein
wherein locating the sign-in web page navigable from the starting web page comprises:
locating one or more anchor or button markup language elements within a document object model for the starting web page;
determining whether any located anchor or button markup language element corresponds to a sign-in element by determining whether a given anchor or button markup language element located within the document object model has an associated label corresponding to a login regular expression; and; and
concluding that the sign-in web page navigable from the starting web page has been successfully located responsive to determining that any located anchor or button markup language element corresponds to the sign-in element,
wherein navigating to the sign-in web page comprises:
selecting a located anchor or button markup language element within the document object model that corresponds to the sign-in element.

### Claim 20

A computing device comprising:
network hardware to communicatively connect the computing device to a server computing device running a web application;
a non-transitory computer-readable data storage medium storing program code; and
a processor to execute the program code to:
generate a login macro to automatically log into the web application, from a provided username, a provided password, and a provided network address of the web application, regardless of whether the web application is logged into at a starting web page at the provided network address or at a sign-in web page navigable from the starting web page; and
after generating the login macro, verify that usage of the login macro successfully results in logging into the web application running on the server computing device.
