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

30 lines
706 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
metadata:
max-request: 1
2021-11-17 23:12:23 +00:00
self-contained: true
http:
2021-11-17 23:12:23 +00:00
- 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