nuclei-templates/http/token-spray/api-box.yaml

30 lines
603 B
YAML

id: api-box
info:
name: Box API Test
author: daffainfo
severity: info
description: File Sharing and Storage Service
reference:
- https://developer.box.com/
- https://github.com/daffainfo/all-about-apikey/tree/main/box
tags: token-spray,box
metadata:
max-request: 1
self-contained: true
http:
- raw:
- |
GET https://api.box.com/2.0/collections HTTP/1.1
Host: api.box.com
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- 'total_count":'
- 'limit":'
condition: and