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

33 lines
799 B
YAML
Raw Normal View History

2021-12-09 11:41:29 +00:00
id: api-box
info:
name: Box API Test
author: daffainfo
severity: info
description: File Sharing and Storage Service
2021-12-09 11:41:29 +00:00
reference:
- https://developer.box.com/
- https://github.com/daffainfo/all-about-apikey/tree/main/box
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,box
2021-12-09 11:41:29 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-12-09 11:41:29 +00:00
- raw:
- |
2021-12-09 15:16:02 +00:00
GET https://api.box.com/2.0/collections HTTP/1.1
2021-12-09 11:41:29 +00:00
Host: api.box.com
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- 'total_count":'
- 'limit":'
condition: and
# digest: 4a0a00473045022058066557d4d5804bfbf596b40561caf3f763f145a584011508f09e4372c76e20022100c6632d1deb0226c685e4b82b508a664e1f7281427b8d54c7df278c4fe409a8aa:922c64590222798bb761d5b6d8e72950