Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 752 Bytes

how-do-you-add-a-script-to-zap-from-the-command-line.md

File metadata and controls

20 lines (14 loc) · 752 Bytes
title type category weight
How do you add a script to ZAP from the command line?
faq
Howtos
4

To add a script you'll need to use the following command line options (with the values changed to match your requirements of course;)

-config script.scripts.name="Remove Strict-Transport-Security"
-config script.scripts.engine="Mozilla Zest"
-config script.scripts.type=proxy
-config script.scripts.enabled=true
-config script.scripts.file="/home/user/scripts/Remove Strict-Transport-Security.zst"

See also the FAQ: How do you find out what key to use to set a config value on the command line?