mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 04:33:31 +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
|
|
|
|
requests:
|
|
- 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: 490a00463044022039df1ef2ee2c238e866d22776e78f5325eaaec0f2e7c2542f1f55a8da1995b0102201a09952b6b93c8cb51c07e51865088f179cd327efec63a79c582e4a2fcf790d7:922c64590222798bb761d5b6d8e72950 |