mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-04 09:43:40 +08:00
32 lines
899 B
YAML
32 lines
899 B
YAML
id: graphql-wpgraphql-detect
|
|
info:
|
|
name: Graphql wpgraphql Detect
|
|
author: princechaddha
|
|
severity: info
|
|
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
tags: tech,graphql,wordpress
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/graphql"
|
|
- "{{BaseURL}}/api/graphql"
|
|
- "{{BaseURL}}/query"
|
|
- "{{BaseURL}}/"
|
|
body: '{"query":"query { alias1$1:__typename }"}'
|
|
headers:
|
|
Content-Type: application/json
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- 400
|
|
|
|
- type: word
|
|
words:
|
|
- 'Syntax Error: Expected Name, found $'
|
|
part: body
|
|
# digest: 4a0a00473045022100eab9cbb037c3a16beef96cdb701f2525081d720e63e990c9577313164e850ac3022028d5769d0864a1dd7b49ec25103f26f9c833b4672ce506bcc3862b80d7ef07cb:922c64590222798bb761d5b6d8e72950 |