30 lines
706 B
YAML
30 lines
706 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
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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
|