mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 09:13:22 +08:00
32 lines
930 B
YAML
32 lines
930 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
|
|
|
|
http:
|
|
- 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: 490a00463044022026c3cbfbb5d081a389ccc9ec3b034c4728c1364023497be5c0c0cb976f166619022008a2b117426f2942f3b5aac5bea8dc1b224a08d5f655c2ecd16efcdd90d17e49:922c64590222798bb761d5b6d8e72950 |