Using MacroGenServer.exe

The MacroGenServer.exe application enables you to create a login macro from the command-line interface (CLI) by providing the start URL, username, and password. The following text provides sample syntax for using the application on the CLI:

macrogenserver.exe -u http://zero.webappsecurity.com/login.html -mu username -mp password

Options

The available options are defined in the following table.

Parameter Definition

-u

Specifies the start URL. This parameter is required.

-mu

Specifies the login form username. This parameter is required.

Important! If the username contains special characters, you must wrap the string in double quotation marks. If the username contains the double quotation mark character, you must use the escape character to pass the quotation mark as part of the username. Refer to the documentation for the specific command-line interface you are using to determine the escape character.

-mp

Specifies the login form password. This parameter is required.

Important! If the password contains special characters, you must wrap the string in double quotation marks. If the password contains the double quotation mark character, you must use the escape character to pass the quotation mark as part of the password. Refer to the documentation for the specific command-line interface you are using to determine the escape character.

-m

Specifies the file path where you want to save the login macro.

-ps

Identifies the IP address or host name of the proxy server.

Examples:

macrogenserver.exe -u http://zero.webappsecurity.com -mu username -mp password -ps 127.0.0.1 -pp 8080

macrogenserver.exe -u http://zero.webappsecurity.com -mu username -mp password -ps myproxyhostname -pp 8080

-pp

Identifies the proxy server port.

-at

Specifies the network authentication type. Options are:

  • Basic

  • Digest

  • Ntlm

  • ADFS_CBT

-au

Specifies the username for network authentication.

-ap

Specifies the password for network authentication.

-h

Displays the MacroGenServer application help.