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

32 lines
879 B
YAML

id: graphql-gqlgen-detect
info:
name: Graphql Gqlgen Detect
author: princechaddha
severity: info
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
tags: tech,graphql,gqlgen
http:
- method: POST
path:
- "{{BaseURL}}/graphql"
- "{{BaseURL}}/api/graphql"
- "{{BaseURL}}/query"
- "{{BaseURL}}/"
body: '{"query":"query { __typename { }"}'
headers:
Content-Type: application/json
redirects: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- 400
- type: word
words:
- 'expected at least one definition'
part: body
# digest: 4a0a004730450220088caee4c23ffdc350e0bc81590e5e704a6eea47546161f39315bd3eb01f8704022100b27a39f35acaff3da68f6c1cf343f06beefc5325995e4a2c8e52cb4d3e40dc05:922c64590222798bb761d5b6d8e72950