misc updates

patch-1
sandeep 2021-06-04 23:53:21 +05:30
parent 7a2f03dcb7
commit f5addb24c1
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
id: graphql
id: graphql-detect
info:
name: GraphQL API
name: GraphQL API Detection
author: NkxxkN & ELSFA7110
severity: info
@ -51,6 +51,7 @@ requests:
headers:
Content-Type: application/json
body: '{"query":"query IntrospectionQuery{__schema {queryType { name }}}"}'
matchers-condition: and
@ -58,8 +59,10 @@ requests:
- type: status
status:
- 200
- type: regex
regex:
- "__schema"
- "(Introspection|INTROSPECTION|introspection).*?"
- ".*?operation not found.*?"
condition: or