mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 17:23:30 +08:00
32 lines
885 B
YAML
32 lines
885 B
YAML
id: graphql-java-detect
|
|
info:
|
|
name: Graphql Java Detect
|
|
author: princechaddha
|
|
severity: info
|
|
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
tags: tech,graphql,java
|
|
|
|
requests:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}/graphql"
|
|
- "{{BaseURL}}/api/graphql"
|
|
- "{{BaseURL}}/query"
|
|
- "{{BaseURL}}/"
|
|
body: '{"query":"queryy { __typename }"}'
|
|
headers:
|
|
Content-Type: application/json
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- 400
|
|
|
|
- type: word
|
|
words:
|
|
- "Invalid Syntax : offending token 'queryy'"
|
|
part: body
|
|
# digest: 4a0a00473045022100a8f7398d30bc8bfa989140e154a10fec3d241be26aee64a644b18b22c64bd6100220661376417e5f3a8dc524280b6a4a9df5ee58544b9b334887307b55402586f152:922c64590222798bb761d5b6d8e72950 |