mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-06 18:53:16 +08:00
32 lines
932 B
YAML
32 lines
932 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,discovery
|
|
|
|
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: 4a0a0047304502200e7bceb9f5dbd32e2448f226d258602a1f0ee625d163fc9bca58e0cdd9c3bd4c022100d2f4ee618cc0f1240e3b0310b9a4a411c1560862ebb38569a6faebe7f728a1b0:922c64590222798bb761d5b6d8e72950 |