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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,google,books
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
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"'
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402203e6004d143dac3ce6f0249197402149341dbb4903c4751d3d91a0e499d10e27d022031a2761eedaa4bc812a4665f24e0e627652861c1a5eb752daa5e767c0e0ca9a3:922c64590222798bb761d5b6d8e72950
|