follow redirect, compare body instead of status code, eliminate false positives

patch-1
Paul Werther 2021-08-10 10:53:58 +02:00
parent ff558bd94e
commit 36e43b66ec
1 changed files with 7 additions and 4 deletions

View File

@ -14,11 +14,14 @@ info:
requests:
- method: GET
redirects: true
path:
- '{{BaseURL}}/autodiscover/autodiscover.json?@test.com/owa/?&Email=autodiscover/autodiscover.json%3F@test.com'
- '{{BaseURL}}/mapi/nspi/?@test.com/owa/?&Email=autodiscover/autodiscover.json%3F@test.com'
- '{{BaseURL}}/autodiscover/autodiscover.json?@test.com/mapi/nspi/?&Email=autodiscover/autodiscover.json%3F@test.com'
matchers:
- type: status
status:
- 302
- type: word
part: body
words:
- Microsoft.Exchange.Clients.Owa2.Server.Core.OwaADUserNotFoundException
- Exchange MAPI/HTTP Connectivity Endpoint