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

28 lines
675 B
YAML

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
reference:
- https://docs.scanii.com/v2.1/resources.html
- https://github.com/daffainfo/all-about-apikey/tree/main/scanii
tags: token-spray,scanii
self-contained: true
http:
- raw:
- |
GET https://api.scanii.com/v2.1/ping HTTP/1.1
Authorization: Basic {{base64(api + ':' + secret)}}
Host: api.scanii.com
matchers:
- type: word
part: body
words:
- '"key"'
- '"message" : "pong"'
condition: and