2022-07-25 06:05:11 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-25 06:05:11 +00:00
|
|
|
- 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
|