2021-11-17 23:12:23 +00:00
|
|
|
id: api-scanii
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Scanii API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
reference:
|
2021-11-19 05:06:25 +00:00
|
|
|
- https://docs.scanii.com/v2.1/resources.html
|
2022-06-18 03:54:41 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Anti%20Malware/Scanii.md
|
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
|