mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-12 05:33:26 +08:00
32 lines
885 B
YAML
32 lines
885 B
YAML
id: graphql-tartiflette-detect
|
|
info:
|
|
name: Graphql Tartiflette Detect
|
|
author: princechaddha
|
|
severity: info
|
|
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
tags: tech,graphql,tartiflette
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/graphql"
|
|
- "{{BaseURL}}/api/graphql"
|
|
- "{{BaseURL}}/query"
|
|
- "{{BaseURL}}/"
|
|
body: '{"query":"query @a { __typename }"}'
|
|
headers:
|
|
Content-Type: application/json
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- 400
|
|
|
|
- type: word
|
|
words:
|
|
- "Unknow Directive < @a >."
|
|
part: body
|
|
# digest: 490a0046304402206c47a39b9c0f904570239fdc03667d3c86a90ea18a6bbb8da431ed0e7da155a0022010fe82759df06a5a9ffc9a40230fb140054bfc6e1fa2e07b0f1cefb35211ca60:922c64590222798bb761d5b6d8e72950 |