mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
32 lines
924 B
YAML
32 lines
924 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: 4b0a00483046022100fd028e4ab1034edd684ae57e6e7fffc7a41e4f5079a8b58fb8165251e3e2c80302210092a23271ce1d2f48c09217bbbda4eddb629f348b38b55564548f33dcca3690ba:922c64590222798bb761d5b6d8e72950 |