mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
32 lines
894 B
YAML
32 lines
894 B
YAML
id: graphql-php-detect
|
|
info:
|
|
name: Graphql PHP Detect
|
|
author: princechaddha
|
|
severity: info
|
|
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
tags: tech,graphql,php
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/graphql"
|
|
- "{{BaseURL}}/api/graphql"
|
|
- "{{BaseURL}}/query"
|
|
- "{{BaseURL}}/"
|
|
body: '{"query":"query ! {__typename}"}'
|
|
headers:
|
|
Content-Type: application/json
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- 400
|
|
|
|
- type: word
|
|
words:
|
|
- 'Syntax Error: Cannot parse the unexpected character "!".'
|
|
part: body
|
|
# digest: 4b0a00483046022100bb4f0598cf293b2f91c1c8dd9ee8fc716f94f235e99af67f3fe2432fafe133940221009af6e0e02df0d95ab7768979a078fcada5d096d6d29c7013bc119fabd7d8761b:922c64590222798bb761d5b6d8e72950 |