Files
nuclei-templates/http/technologies/graphql/graphql-ariadne-detect.yaml
2025-07-15 07:10:31 +00:00

45 lines
1.1 KiB
YAML

id: graphql-ariadne-detect
info:
name: Graphql Ariadne Detect
author: princechaddha
severity: info
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
tags: tech,graphql,ariadne
http:
- method: POST
path:
- "{{BaseURL}}/graphql"
- "{{BaseURL}}/api/graphql"
- "{{BaseURL}}/query"
- "{{BaseURL}}/"
body: '{"query":"query { __typename @abc }"}'
headers:
Content-Type: application/json
redirects: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "Unknown directive '@abc'."
part: body
- type: word
words:
- 'Content-Type: text/html'
part: header
negative: true
- type: word
words:
- '<html'
- '<body'
part: body
condition: or
negative: true
# digest: 4a0a00473045022056e7cc94852d03fdfb345fece20e0f8def1041f2fce9e8c66c43710c92a40a4b022100edbc905734d8c700b0ef8dd6b498ebfeffb6bd26ced513a427564f1003192795:922c64590222798bb761d5b6d8e72950