matchers update

patch-1
Ritik Chaddha 2023-10-20 16:58:10 +05:30 committed by GitHub
parent ca4680186b
commit 4a3ba37b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 7 deletions

View File

@ -9,19 +9,33 @@ info:
reference:
- https://developer.atlassian.com/cloud/jira/platform/connect-app-descriptor/
metadata:
shodan-query: html:"atlassian-connect.json"
verified: true
max-request: 1
tags: atlassian,tech
verified: true
shodan-query: html:"atlassian-connect.json"
tags: atlassian,tech,jira
http:
- method: GET
path:
- "{{BaseURL}}/atlassian-connect.json"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "name") && contains(body, "vendor") && contains(body, "key") && contains(body, "baseUrl")'
- type: word
part: body
words:
- '"name":'
- '"vendor":'
- '"key":'
- '"baseUrl":'
- '"authentication":'
condition: and
- type: word
part: header
words:
- application/json
- type: status
status:
- 200