vpereira/owasp_zap

Confusion in depth function of spider.rb

ambikashri opened this issue · 1 comments

The below code

def depth
     JSON.parse(RestClient::get("#{@base}/JSON/spider/view/status/?zapapiformat=JSON"))
 end

This is to view the status of spider rather than the depth right?
Incase we want to view the set depth shouldnt we be using

JSON.parse(RestClient::get("#{@base}/JSON/spider/view/optionMaxDepth/?zapapiformat=JSON"))

hey, thanks @ambikashri ! its fixed now.