Hi.
Regarding step 9, though ZAP should be setting the expected/selected
URL, you can still change it to match the URL that you want.
Does it work (i.e. both spiders and scanner do not access the excluded
URL) if you change it manually?
Best regards.
On 29/09/15 16:40,
ryerson...@gmail.com wrote:
> These are my current steps.
>
> 1) Open ZAP on port 8081 and setup firefox to run as proxy on same port.
> 2) Go to
https://foo.com/bar/index.cfm
> 3) Log into site, wait for it to load and logout.
> 4) Go to Zap, Click on the bar website and create a new context called
> 'bar app'
> 5) Right click on POST:index.cfm(usr_name,usr_pwd) and flag it as the
> form based auth for the 'bar app' context
> 6) Add my regex of .*[?&]\Qlogout=\E.* as the logged in token because my
> page would show a logout button with an href that has a get
> ?logout=unique_token.
> 7) Add myself as a user
> 8) Right click on GET:index.cfm and exclude it from the spider and scanner
>
> * Result: \Qhttps://
foo.com/bar/index.cfm\E
>
> 9) Right click on GET:index.cfm(logout) and exclude it from the spider
> and scanner, this here is an *issue* because it tries to exclude the
> same thing
>
> * Result: \Qhttps://
foo.com/bar/index.cfm\E
>
> 8) and 9) excluded the same thing.
>
> 10) Right click on the 'bar' and run spider scan as the user.
>
> Results:
>
> History log shows a dozen authentication attempts instead of just**one,
> <
http://foo.com/bar/index.cfm?logout=%5CE.*>
>
> because i do not want it to exclude index.cfm, just the
> logout get request to index.cfm. Actually, ideally i want it
> to exclude any logout get request on any page.
>
> Is this doable in ZAP?
>
> P.S. I have no control over changing the logout to a post.
>
> Cheers everyone :)
>
> --
> You received this message because you are subscribed to the Google
> Groups "OWASP ZAP User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
zaproxy-user...@googlegroups.com
> <mailto:
zaproxy-user...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.