nuclei-templates/token-spray/api-scanii.yaml

28 lines
679 B
YAML
Raw Normal View History

2021-11-17 23:12:23 +00:00
id: api-scanii
info:
name: Scanii API Test
author: daffainfo
severity: info
description: Simple REST API that can scan submitted documents/files for the presence of threats
2021-11-17 23:12:23 +00:00
reference:
2021-11-19 05:06:25 +00:00
- https://docs.scanii.com/v2.1/resources.html
- https://github.com/daffainfo/all-about-apikey/tree/main/scanii
2021-11-17 23:12:23 +00:00
tags: token-spray,scanii
self-contained: true
requests:
- raw:
- |
GET https://api.scanii.com/v2.1/ping HTTP/1.1
Authorization: Basic {{base64(api + ':' + secret)}}
Host: api.scanii.com
2021-11-19 05:38:37 +00:00
2021-11-17 23:12:23 +00:00
matchers:
- type: word
part: body
words:
- '"key"'
- '"message" : "pong"'
condition: and