updated matchers
parent
8d58be1b87
commit
5bebea33d4
|
@ -9,17 +9,25 @@ info:
|
|||
- https://www.ibm.com/products/api-connect/developer-portal
|
||||
metadata:
|
||||
max-request: 1
|
||||
tags: panel,ibm,detect,login
|
||||
tags: panel,ibm,api,detect,login
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- '{{BaseURL}}/auth/manager/sign-in/'
|
||||
- '{{BaseURL}}'
|
||||
|
||||
stop-at-first-match: true
|
||||
host-redirects: true
|
||||
max-redirects: 2
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'status_code == 200'
|
||||
- 'contains(to_lower(body), "ibm api connect")'
|
||||
- 'contains(to_lower(body), "window.apiconnectcfg")'
|
||||
condition: and
|
||||
- 'status_code == 200 || status_code == 404'
|
||||
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'contains_any(to_lower(body), "content=\"ibm api connect", "ibm api connect</title>")'
|
||||
- 'contains_all(to_lower(body), "window.apiConnectCfg", "ibm-cloud", "<title>api connect")'
|
||||
condition: or
|
||||
|
|
Loading…
Reference in New Issue