Questions tagged [safe-browsing-api]

The Safe Browsing APIs (v4) let your client applications check URLs against Google's constantly updated lists of unsafe web resources. To determine if a URL is on any of the Safe Browsing lists, clients can send URLs to the Google Safe Browsing server to check their status or download encrypted versions of the Safe Browsing lists for local, client-side checks of URLs.

What are the Safe Browsing APIs?

The Safe Browsing APIs (v4) let your client applications check URLs against Google's constantly updated lists of unsafe web resources. Examples of unsafe web resources are social engineering sites (phishing and deceptive sites) and sites that host malware or unwanted software. Any URL found on a Safe Browsing list is considered unsafe.

To determine if a URL is on any of the Safe Browsing lists, clients can use either the Lookup API (v4) or the Update API (v4).

Overview

23 questions
0
votes
1 answer

Get-content not producing an array that Invoke-restmethod can process

As a follow-up to this question, instead of using a long array in the script I wanted to draw from a text file. So I replaced this: $URLs = 'http://websiteone.com','http://websitetwo.com','http://websitethree.com' with this $URLs = Get-Content…
Mullets4All
  • 39
  • 1
  • 8
0
votes
2 answers

Google safe browsing API 403 error: The request is missing a valid API key

My ajax code is as follows: $("#my_form").submit(function(event){ event.preventDefault(); //prevent default action var api_url = "https://safebrowsing.googleapis.com/v4/threatMatches:find?" var key =…
0
votes
1 answer

How to assign value to variable from a google API Json Response c#

I am trying to assign the value of a key from an async JSON response to a variable, the JSON key in question is the "threatType" Key. I am querying google's safebrowsing v4 API and I get a good response, the problem is when I try to assign a key to…
0
votes
1 answer

Google Safe Browsing API v4 implementation with C# returns null response

I am trying to lookup/scan the status of URLs with the Google Safe Browsing API v4, I tried the method I found in this link How to use Google Safe Browsing (v4) with .NET, but i get a null response returned. Here's the code: private async void…
0
votes
1 answer

How to handle redirects with the safebrowsing - api?

I have a website that allows others to share urls. To make sure noone enters "evil" sites I use the google safebrowsing api: $url = 'https://safebrowsing.googleapis.com/v4/threatMatches:find?key='.$key; $data = array( 'client' =>…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
0
votes
1 answer

Why am I receiving an 'sbserver not found' error when attempting to set up Google Safe Browsing Database?

I reached this GitHub repo. about google safe browsing database. I have never used go, but I think it is required now. So I installed it using: sudo apt install golang-go Then, I followed the instructions in the GitHub page. I executed: go get…
0
votes
1 answer

Google safe browsing not detecting url even it unsafe url

I am using Google Safe browsing Lookup api v4, but some url not detecting by api even it unsafe. My request data and request header like below: $request_data = [ "client" => [ "clientId" => "#########", …
-1
votes
1 answer

nothing is returned when querying safebrowsing api

I'm trying to get information from a google api, but the response body appears to be empty. it just outputs {} to the console. Not sure where I went wrong as I used the docs to get the payload information for the request:…
Steve Coulter
  • 61
  • 2
  • 9
1
2