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

33 lines
902 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
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
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
# digest: 4a0a00473045022078f825c2797fe08f026fddaa434bd3b1841c0692a1bf603fd611ea755c3dd2c9022100b3a0b85cdd13e42a0cfd47d5cce8339db6615475a64ad404ab873801fd4874a8:922c64590222798bb761d5b6d8e72950