Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Is there any implementation of google-safe-browsing in Python?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Diogo  
View profile  
 More options Jul 27 2012, 5:15 pm
From: Diogo <diogo.si...@gastecnologia.com.br>
Date: Fri, 27 Jul 2012 14:15:11 -0700 (PDT)
Local: Fri, Jul 27 2012 5:15 pm
Subject: Is there any implementation of google-safe-browsing in Python?

I've looked into
http://code.google.com/p/google-safe-browsing/source/browse/#svn%2Ftr...
but I haven't got its meaning. Why do I have to run a server? Is it any
implementation of Protocol v2 (Safe Browsing API v2)?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Garrett Casto  
View profile  
 More options Jul 27 2012, 5:19 pm
From: Garrett Casto <gca...@google.com>
Date: Fri, 27 Jul 2012 14:19:00 -0700
Subject: Re: Is there any implementation of google-safe-browsing in Python?

That directory is used to test that clients are setup correctly. The actual
client code is at
http://code.google.com/p/google-safe-browsing/source/browse/#svn%2Ftr....
Check out client.py for usage.

On Fri, Jul 27, 2012 at 2:15 PM, Diogo <diogo.si...@gastecnologia.com.br>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diogo  
View profile  
 More options Jul 29 2012, 4:14 pm
From: Diogo <diogo.si...@gastecnologia.com.br>
Date: Sun, 29 Jul 2012 13:14:21 -0700 (PDT)
Local: Sun, Jul 29 2012 4:14 pm
Subject: Re: Is there any implementation of google-safe-browsing in Python?

I've checked out client.py and I've seen its usage. Just for test I
performed a client-side lookups of URLs, such:
urls = ["http://ianfette.org/", "www.google.com.br"]
client.CheckForUrl(myapikey,urls)

and I recived this message:
INFO:root:Finished update number 1, next delay: 1818
INFO:root:Waiting to complete updates...
INFO:root:Waiting 1818 seconds

and after a while other message:
INFO:root:Finished update number 2, next delay: 1776
INFO:root:Waiting to complete updates...
INFO:root:Waiting 1776 seconds

so on.

I suppose that the client.py is performing only the updates but, how can I
get the result of the lookups? If it's either phishing, malware, both or
none of them. My guess is that it isn't calling function CheckUrl from
Client class. Am I wrong?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diogo  
View profile  
 More options Aug 14 2012, 3:52 pm
From: Diogo <diogo.si...@gastecnologia.com.br>
Date: Tue, 14 Aug 2012 12:52:39 -0700 (PDT)
Local: Tues, Aug 14 2012 3:52 pm
Subject: Re: Is there any implementation of google-safe-browsing in Python?

Someone have any idea?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Garrett Casto  
View profile  
 More options Aug 14 2012, 4:16 pm
From: Garrett Casto <gca...@google.com>
Date: Tue, 14 Aug 2012 13:16:05 -0700
Local: Tues, Aug 14 2012 4:16 pm
Subject: Re: Is there any implementation of google-safe-browsing in Python?

The way the client works it will update until it's completely up to date
before telling you if you the url you have specified is bad or not. This
can take a while (on the order of hours) if you haven't done this before or
if the database you specified is out of date. If you just want to know if a
few sites are bad or not, using the lookup api (
https://developers.google.com/safe-browsing/lookup_guide) is much easier.
This implementation is more if you want to check very large numbers of urls
or if you don't wish to disclose the urls to Google for privacy reasons.

On Tue, Aug 14, 2012 at 12:52 PM, Diogo <diogo.si...@gastecnologia.com.br>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diogo  
View profile  
 More options Aug 15 2012, 2:56 pm
From: Diogo <diogo.si...@gastecnologia.com.br>
Date: Wed, 15 Aug 2012 11:56:43 -0700 (PDT)
Local: Wed, Aug 15 2012 2:56 pm
Subject: Re: Is there any implementation of google-safe-browsing in Python?

In fact, for now, I just want to check if a few sites are bad or not and
I've been performing lookups with this implementation of lookup api:
http://pypi.python.org/pypi/Google%20Safe%20Browsing%20v2%20Lookup/ , but
it's giving me some errors, it is not, sometimes, "saying" if a site is bad
or not, it's "saying" "error" and because of this I thought about using Protocol
v2. And in the future I think that I'll check very large numbers, more than
10.000. Any tip or trick while using Protocol v2?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien Sobrier  
View profile  
 More options Aug 15 2012, 4:53 pm
From: Julien Sobrier <jul...@sobrier.net>
Date: Wed, 15 Aug 2012 13:53:04 -0700
Local: Wed, Aug 15 2012 4:53 pm
Subject: Re: Is there any implementation of google-safe-browsing in Python?
Hello,
I wrote this python module. if you can tell me which specific URLs are
causing an issue, I'll debug it. (you can contact me directly at
jul...@sobrier.net, or open a ticket on
https://github.com/juliensobrier/google-safe-browsing-lookup-python)

Julien

On Wed, Aug 15, 2012 at 11:56 AM, Diogo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Kovar  
View profile  
 More options Aug 16 2012, 3:12 pm
From: David Kovar <dko...@gmail.com>
Date: Thu, 16 Aug 2012 12:12:30 -0700 (PDT)
Local: Thurs, Aug 16 2012 3:12 pm
Subject: Re: Is there any implementation of google-safe-browsing in Python?

Good afternoon,

I've been working with your Python module. The early going was a bit
frustrating but I finally got it working. One thing that helped was to add
the debug flag to see what the actual URLs being POST'd were.

    return(SafebrowsinglookupClient(API_KEY,debug=1))

That showed me that I was passing in URLs that were then being modified in
a way that caused them to be malformed.

However, I'm now stumped by something else: how can I make it proxy aware?
My code works when I am not behind a proxy, but when I am behind a proxy it
times out.

-David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic