2021-09-03 16:37:23 +05:30
|
|
|
id: graphql-php-detect
|
|
|
|
|
info:
|
|
|
|
|
name: Graphql PHP Detect
|
|
|
|
|
author: princechaddha
|
|
|
|
|
severity: info
|
2025-10-10 17:29:45 +07:00
|
|
|
reference:
|
|
|
|
|
- https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
|
|
|
|
|
tags: tech,graphql,php
|
2021-09-03 16:37:23 +05:30
|
|
|
|
2025-07-14 16:25:10 +05:30
|
|
|
http:
|
2021-09-03 16:37:23 +05:30
|
|
|
- method: POST
|
|
|
|
|
path:
|
2025-07-07 23:22:41 +05:30
|
|
|
- "{{BaseURL}}/graphql"
|
|
|
|
|
- "{{BaseURL}}/api/graphql"
|
|
|
|
|
- "{{BaseURL}}/query"
|
2021-09-03 16:37:23 +05:30
|
|
|
- "{{BaseURL}}/"
|
2025-07-07 23:22:41 +05:30
|
|
|
body: '{"query":"query ! {__typename}"}'
|
2021-09-03 16:37:23 +05:30
|
|
|
headers:
|
|
|
|
|
Content-Type: application/json
|
|
|
|
|
redirects: true
|
|
|
|
|
|
2025-07-07 23:22:41 +05:30
|
|
|
matchers-condition: and
|
2021-09-03 16:37:23 +05:30
|
|
|
matchers:
|
2025-07-07 23:22:41 +05:30
|
|
|
- type: status
|
|
|
|
|
status:
|
|
|
|
|
- 200
|
|
|
|
|
- 400
|
|
|
|
|
|
2021-09-03 16:37:23 +05:30
|
|
|
- type: word
|
|
|
|
|
words:
|
2025-07-07 23:22:41 +05:30
|
|
|
- 'Syntax Error: Cannot parse the unexpected character "!".'
|
2021-09-03 16:37:23 +05:30
|
|
|
part: body
|
2025-10-31 05:32:04 +00:00
|
|
|
# digest: 4a0a0047304502200eebe1f165621295c0b78894607b538b5ff6e5792f41bafb9fb521b1342c78ab0221009e33de353773b644df20b90c6ad4eb4ef222c2367314efa5b0fb9ebde1321355:922c64590222798bb761d5b6d8e72950
|