2021-11-17 23:12:23 +00:00
|
|
|
id: api-scanii
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Scanii API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
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
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/scanii
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,scanii
|
2021-11-17 23:12:23 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022078f825c2797fe08f026fddaa434bd3b1841c0692a1bf603fd611ea755c3dd2c9022100b3a0b85cdd13e42a0cfd47d5cce8339db6615475a64ad404ab873801fd4874a8:922c64590222798bb761d5b6d8e72950
|