Hi Team,
I'm using replace in zap config to use header in full scan. I'm running the command like this,
where "conf" is the configuration file. Like this,
replacer.full_list(0).description=Authorization
replacer.full_list(0).enabled=true
replacer.full_list(0).matchtype=REQ_HEADER
replacer.full_list(0).matchstr=Authorization
replacer.full_list(0).regex=false
replacer.full_list(0).replacement="Bearer awdawdawdadawdawda"
replacer.full_list(1).description=Cookie
replacer.full_list(1).enabled=true
replacer.full_list(1).matchtype=REQ_HEADER
replacer.full_list(1).matchstr=Cookie
replacer.full_list(1).regex=false
replacer.full_list(1).replacement="a.hin7iYWua6JqE2oMVcCVZXBPr5M1xAisoiLCe3b5y_8"
For which I'm getting that config file is wrong (To be extact, the error is "2023-04-04 15:08:04,074 Failed to load config file /zap/wrk/conf not enough values to unpack (expected 3, got 1)" ). Not really sure what is wrong here.