client9 / gsb4u Goto Github PK
View Code? Open in Web Editor NEWGoogle Safe Browsing batch server, client
License: MIT License
Google Safe Browsing batch server, client
License: MIT License
Not sure if this is a bug, or something unique to me, but when I used your library, I found the class name referenced was wrong.
$storage = new GSB_StoreDB($dbh);
should be:
$storage = new GSB_Storage($dbh);
After I updated that, and also added a PDO DB password, it started downloading the hashes.
Hi. Recently I got one error with 413.
[13-Jun-2012 07:33:44 UTC] PHP Fatal error: Uncaught exception 'GSB_Exception' with message 'Unknown http code 413' in /usr/www/gsb4ugc/lib/GSB_Request.php:179
Stack trace:
#0 /usr/www/gsb4ugc/lib/GSB_Request.php(44): GSB_Request->post_request('http://safebrow...', 'goog-malware-sh...', false)
#1 /usr/www/gsb4ugc/lib/GSB_Updater.php(383): GSB_Request->download('goog-malware-sh...')
#2 /usr/www/gsb4ugc/bin-sample/update.php(9): GSB_Updater->downloadData(Array, false)
#3 {main}
thrown in /usr/www/gsb4ugc/lib/GSB_Request.php on line 179
If I update with $gsblists = array('goog-malware-shavar'); or $gsblists = array('googpub-phish-shavar'); - all thing work right. But if I trying to update with $gsblists = array('goog-malware-shavar', 'googpub-phish-shavar'); I got that strange error.
Maybe you know why this happening?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.