2021-09-03 16:48:56 +05:30
|
|
|
id: graphql-java-detect
|
|
|
|
|
info:
|
|
|
|
|
name: Graphql Java Detect
|
|
|
|
|
author: princechaddha
|
|
|
|
|
severity: info
|
|
|
|
|
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
2025-10-17 14:17:02 +02:00
|
|
|
tags: tech,graphql,java,discovery
|
2021-09-03 16:48:56 +05:30
|
|
|
|
2025-07-14 16:25:10 +05:30
|
|
|
http:
|
2021-09-03 16:48:56 +05:30
|
|
|
- method: POST
|
|
|
|
|
path:
|
2025-07-07 23:22:41 +05:30
|
|
|
- "{{BaseURL}}/graphql"
|
|
|
|
|
- "{{BaseURL}}/api/graphql"
|
|
|
|
|
- "{{BaseURL}}/query"
|
2021-09-03 16:48:56 +05:30
|
|
|
- "{{BaseURL}}/"
|
2025-07-07 23:22:41 +05:30
|
|
|
body: '{"query":"queryy { __typename }"}'
|
2021-09-03 16:48:56 +05:30
|
|
|
headers:
|
|
|
|
|
Content-Type: application/json
|
|
|
|
|
redirects: true
|
|
|
|
|
|
2025-07-07 23:22:41 +05:30
|
|
|
matchers-condition: and
|
2021-09-03 16:48:56 +05:30
|
|
|
matchers:
|
2025-07-07 23:22:41 +05:30
|
|
|
- type: status
|
|
|
|
|
status:
|
|
|
|
|
- 200
|
|
|
|
|
- 400
|
|
|
|
|
|
2021-09-03 16:48:56 +05:30
|
|
|
- type: word
|
|
|
|
|
words:
|
|
|
|
|
- "Invalid Syntax : offending token 'queryy'"
|
|
|
|
|
part: body
|
2025-10-26 16:17:34 +00:00
|
|
|
# digest: 4a0a00473045022075b483b1baf0ff3d30da62d0674891e834e123a66415783db8722e63eb433ea90221008c216768b2d26c403596994a1dbe9515df2c1a0563abf3f6c1a745add34b052a:922c64590222798bb761d5b6d8e72950
|