mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 04:33:31 +08:00
32 lines
898 B
YAML
32 lines
898 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
|
|
|
|
requests:
|
|
- 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: 4b0a004830460221008ed1964f2ddbfe96a8f414ed936ffb2275e77a26e8a116459809eb52fb74715d022100a590c9948be512e37b6d7a7d28da141723c8ac57e814d0b4c0be84b641ea246c:922c64590222798bb761d5b6d8e72950 |