{"repo":"google/safebrowsing","free":true,"listed":false,"github":"https://github.com/google/safebrowsing","clone":"git clone https://github.com/google/safebrowsing.git","description":"Safe Browsing API Go Client","language":"Go","stars":502,"topics":["security","malware","query"],"license":"Apache-2.0","category":"security-tools","readme_excerpt":"Reference Implementation for the Usage of Google Safe Browsing APIs (v4) The safebrowsing Go package can be used with the Google Safe Browsing APIs (v4) to access the Google Safe Browsing lists of unsafe web resources. Inside the cmd sub-directory, you can find two programs: sblookup and sbserver . The sbserver program creates a proxy local server to check URLs and a URL redirector to redirect users to a warning page for unsafe URLs. The sblookup program is a command line service that can also be used to check URLs. This README.md is a quickstart guide on how to build, deploy, and use the safebrowsing Go package. It can be used out-of-the-box. The GoDoc and API documentation provide more details on fine tuning the parameters if desired. Setup To use the safebrowsing Go package you must obtain an API key from the Google Developer Console. For more information, see the Get Started section of the Google Safe Browsing APIs (v4) documentation. How to Build To download and install from the source, run the following command: The programs below execute from your $GOPATH/bin folder. Add that to your $PATH for convenience: Proxy Server The sbserver server binary runs a Safe Browsing API lookup proxy that allows users to check URLs via a simple JSON API. 1. Once the Go environment is setup, run the following command with your API key: With the default settings this will start a local server at 127.0.0.1:8080 . 2. The server also uses an URL redirector (listening on /r ) to show an inter","default_branch":null,"files":null,"tree":[],"storefront":"/r/google","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google/safebrowsing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}