31 lines
938 B
YAML
31 lines
938 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,safebrowsing
|
|
|
|
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: 4b0a00483046022100e385609b42b23ee513d95497ed2ab8d16afab2bed1f2343821a03584774f9d4a02210098ca553557f3ed6246b0dc5b19e4c231024a811200a7218c7ca3c05bf140a2dc:922c64590222798bb761d5b6d8e72950 |