ZAP:探索API - 如何在UI中设置标头参数?

时间:2018-03-29 14:58:49

标签: zap

我正在评估ZAP并遵循指南:https://zaproxy.blogspot.ru/2017/04/exploring-apis-with-zap.html

但无法找到如何在UI中设置标头参数的方法,例如api key。

1 个答案:

答案 0 :(得分:1)

您可以使用Replacer插件:https://github.com/zaproxy/zap-extensions/wiki/HelpAddonsReplacerReplacer

或脚本。这是一个python脚本示例:

resultDF.printSchema()
root
 |-- name: string (nullable = true)
 |-- matches: map (nullable = true)
 |    |-- key: string
 |    |-- value: integer (valueContainsNull = false)

您可以在社区脚本仓库中找到其他示例:https://github.com/zaproxy/community-scripts

您可以通过ZAP Marketplace获取Replacer附加组件或python脚本加载项: enter image description here