Files
nuclei-templates/http/technologies/graphql/graphql-php-detect.yaml
2025-10-26 16:17:37 +00:00

32 lines
900 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,discovery
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: 490a0046304402206108a913fb831b9e95a7e2ec270f5e13ad1390860bda99ade01f16d830dcefa902201c27a240aa32281159afc3362c07565c4cadb796a629d5ca4082231fc14cbbd8:922c64590222798bb761d5b6d8e72950