33 lines
929 B
YAML
33 lines
929 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
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,google,books
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- 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
|
|
|
|
# digest: 490a0046304402203e6004d143dac3ce6f0249197402149341dbb4903c4751d3d91a0e499d10e27d022031a2761eedaa4bc812a4665f24e0e627652861c1a5eb752daa5e767c0e0ca9a3:922c64590222798bb761d5b6d8e72950
|