mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-11 05:03:18 +08:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
id: graphql-graphene-detect
|
|
info:
|
|
name: Graphql Graphene Detect
|
|
author: princechaddha
|
|
severity: info
|
|
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
tags: tech,graphql,graphene
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/graphql"
|
|
- "{{BaseURL}}/api/graphql"
|
|
- "{{BaseURL}}/query"
|
|
- "{{BaseURL}}/"
|
|
body: '{"query":"aaa"}'
|
|
headers:
|
|
Content-Type: application/json
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- 'Syntax Error GraphQL (1:1)'
|
|
part: body
|
|
|
|
- type: word
|
|
words:
|
|
- 'Content-Type: text/html'
|
|
part: header
|
|
negative: true
|
|
|
|
- type: word
|
|
words:
|
|
- '<html'
|
|
- '<body'
|
|
part: body
|
|
condition: or
|
|
negative: true
|
|
# digest: 4b0a00483046022100cfedc8914504329c5940588979e79680b82373d22d5cd14b2c897dd4b58c6d0d022100e135d129b6482641d84f7b391555edeed98380e4cd0af4ca75f50665a84d9eb1:922c64590222798bb761d5b6d8e72950 |