Command Line

ZAP supports the following command line options:
    -cmdRuns ZAP 'inline', ie without starting the UI or a daemon
    -configOverrides the specified key=value pair in the configuration file
    -daemonStarts ZAP in 'daemon' mode, ie without a UI
    -dirUses the specified directory instead of the default one
    -installdirOverrides the code that detects where ZAP has been installed with the specified directory
    -hShows all of the command line options available, including those added by add-ons
    -helpThe same as -h
    -hostOverrides the host used for proxying specified in the configuration file
    -portOverrides the port used for proxying specified in the configuration file
    -versionReports the ZAP version

Configuration keys should be specified using the dot notation based their location in the XML of the configuration file, eg:
-config api.key=12345 -config connection.timeoutInSecs=60
Note that add-ons can add extra command line options.

Zobacz również

     Wprowadzeniewprowadzenie do korzystania z ZAP