27 lines
707 B
YAML
27 lines
707 B
YAML
|
id: api-safebrowsing
|
||
|
|
||
|
info:
|
||
|
name: Google Safe Browsing API Test
|
||
|
author: daffainfo
|
||
|
severity: info
|
||
|
description: Google Link/Domain Flagging
|
||
|
reference:
|
||
|
- https://developers.google.com/books/docs/overview
|
||
|
- https://github.com/daffainfo/all-about-apikey/tree/main/google-safe-browsing
|
||
|
tags: token-spray,google,books
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?key={{token}} HTTP/1.1
|
||
|
Host: safebrowsing.googleapis.com
|
||
|
Content-Type: application/json
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"clientId"'
|
||
|
- '"clientVersion"'
|
||
|
condition: and
|