mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
33 lines
926 B
YAML
33 lines
926 B
YAML
id: graphql-hypergraphql-detect
|
|
info:
|
|
name: Graphql Hypergraphql Detect
|
|
author: princechaddha
|
|
severity: info
|
|
reference:
|
|
- https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
tags: tech,graphql,hypergraphql
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/graphql"
|
|
- "{{BaseURL}}/api/graphql"
|
|
- "{{BaseURL}}/query"
|
|
- "{{BaseURL}}/"
|
|
body: '{"query":"zzz { __typename }"}'
|
|
headers:
|
|
Content-Type: application/json
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- 400
|
|
|
|
- type: word
|
|
words:
|
|
- "Validation error of type InvalidSyntax: Invalid query syntax."
|
|
part: body
|
|
# digest: 490a0046304402200d1e98a70176f013171757c9fdc85905cc2096a054f85cd009710b29168cdec70220434f5fdd867e11981aae4953748491ea1027ad05c0e13db02e7bb37d57b35c09:922c64590222798bb761d5b6d8e72950 |