Questions tagged [safe-browsing]

Safe Browsing is a service provided by Google that enables applications to check URLs against Google's constantly updated lists of suspected phishing and malware pages.

Safe Browsing is a service provided by Google that enables applications to check URLs against Google's constantly updated lists of suspected phishing and malware pages.

Here are some of the things you can do with the Safe Browsing service:

  • Warn users before clicking on links that appear in your site when they lead to malware-infected pages.
  • Prevent users from posting links to known phishing pages from your site.
  • Check a list of pages against Google's lists of suspected phishing and malware pages.
74 questions
10
votes
2 answers

do ios webviews check urls for malware before opening them?

If I open arbitrary urls in my ios application, will I have to do my own malware/phishing/etc... checks? Does the webview (implicitly) do any work on my behalf (or would i have to switch a setting somewhere?)?
blueberryfields
  • 45,910
  • 28
  • 89
  • 168
5
votes
1 answer

Selenium based malware (malvertising) checking - A few questions

We recently had an issue where an advertiser who purchased advertisments via a 3rd party was distributing malware via the ads they purchased. This led to google black listing our web property for a short period of time. This issue is now…
anonymous-one
  • 14,454
  • 18
  • 60
  • 84
4
votes
1 answer

Invalid Request in Google Safe-Browsing Lookup API

I am trying to send a request to the Google Safe browsing Lookup API. It asks the user for a for a url for which he wants to do the look up. However there is some problem with the way I am sending the request because it keeps replying with Error…
yudistrange
  • 515
  • 1
  • 3
  • 15
4
votes
1 answer

Unexpected response with Google Safe Browsing API v4 and Python requests

I'm trying to implement a small function to verify possible phishing URL's and thought that using Google Safe Browsing API would be a good start. After reading the API documentation I thought I had a handle on things and cobbled together the…
Swedish Mike
  • 583
  • 1
  • 8
  • 23
4
votes
1 answer

Safe Browsing API v4. - Empty response

I have implemented Safe Browsing API. I have domains that are declared as phishing domains. I have tested them and as the response I get empty array. My question is, does google safe browsing API has type PHISHING anymore? I have fetched the safe…
Heril Muratovic
  • 1,940
  • 6
  • 25
  • 46
4
votes
0 answers

Test Safe-Browsing using Selenium chromedriver in Python

Im trying to reach the famous safe browsing red error-page using selenium chromedriver with no success- tried every flag/pref that I could find... Any suggestions/thoughts? heres my code (python): prefs = {"directory_upgrade": True, …
3
votes
1 answer

Google web-risk API and SafeBrowsing api returns safe for phishing site

Following instructions here, the following code appears to return good results on the example sites, but on an actual phishing site (https://www.clicktrackingsall.com/a.php) it returns empty: const axios = require('axios'); const apikey =…
orirab
  • 2,915
  • 1
  • 24
  • 48
3
votes
0 answers

Disable “This type of file can harm your computer” in chrome

I am trying to download some files using Selenium and Python in Chrome, but when I download a file with .msg extension Chrome asks for permission to download the file. I want to disable it. I tried the below code from selenium import…
3
votes
2 answers

How to use Google Safe Browsing (v4) with .NET

I am trying to use Googles Safe Browsing Lookup API (v4, https://developers.google.com/safe-browsing/v4/lookup-api ) with a .NET application and had trouble finding example code. I installed Google's nuget package but could find no examples on their…
Alex J
  • 71
  • 6
3
votes
0 answers

Firefox for android - shortcut to open url in private tab

The firefox app for android offers an option to create a shortcut on your homescreen, that opens a specified url. Is it possible to create such a shortcut, that opens the url in a new private tab, or to launch firefox in private browsing mode using…
Leso_KN
  • 158
  • 13
3
votes
0 answers

Google's Safe Browsing malware flag and Bit.ly custom domains

I'm trying to better understand how to implement a custom domain with bit.ly without getting flagged by Google's Safe Browsing Site Status. As I understand it, you can get flagged by Google if you have a link on your site to another site that has…
Zach B
  • 534
  • 7
  • 25
3
votes
1 answer

Access-Control-Allow-Origin in Google Safe Browsing API

I have a script which I give to my clients and they put it in their web pages. I want to check inside that script if the domain is safe using Google's Safe Browsing API. When the script loads, I make an API request for the current domain with the…
Sharon Haim Pour
  • 6,595
  • 12
  • 42
  • 64
3
votes
1 answer

Google SafeBrowsing API: always getting an error

I use google safe browsing API. So I tested this simple code: from safebrowsinglookup import SafebrowsinglookupClient class TestMe: def testMe(self): self.key='my_Valid_Key_Here' …
user3522371
3
votes
2 answers

Code to verify updates from the Google Safe Browsing API

In order to verify the data coming from the Google Safe Browsing API, you can calculate a Message Authentication Code (MAC) for each update. The instructions to do this (from Google) are: The MAC is computed from an MD5 Digest over the following…
Tony Meyer
  • 10,079
  • 6
  • 41
  • 47
2
votes
3 answers

How to figure out what site to add to cookie whitelist?

There is a banking site that I cannot login to unless I allow all cookies to be accepted. I am using Firefox 3.0 and I have set it to not accept cookies except from the defined list (Tools - Options - Privacy - Cookies - Exceptions). I've added all…
ultracrepidarian
  • 1,080
  • 11
  • 18
1
2 3 4 5