Files
nuclei-templates/http/technologies/graphql/graphql-ruby-detect.yaml
2025-07-14 12:57:01 +07:00

32 lines
936 B
YAML

id: graphql-ruby-detect
info:
name: Graphql Ruby Detect
author: princechaddha
severity: info
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
tags: tech,graphql,ruby
requests:
- method: POST
path:
- "{{BaseURL}}/graphql"
- "{{BaseURL}}/api/graphql"
- "{{BaseURL}}/query"
- "{{BaseURL}}/"
body: '{"query":"query @skip {__typename}"}'
headers:
Content-Type: application/json
redirects: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- 400
- type: word
words:
- "'@skip' can't be applied to queries (allowed: fields, fragment spreads, inline fragments)"
part: body
# digest: 4a0a00473045022100e4f7a62680d640d8c53ea91f08023cb6244d897d364e2443683f6fcd52daf002022054fe69984fa1a840bf041b3cd40df33a6da84c22c6bfba70ec25baae9a7116d3:922c64590222798bb761d5b6d8e72950