knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
safebrowsing
: retrieve ASN & URL info from Google Safe Browsing
If you're not familiar with Google's "Safe Browing" "service", you should probably go here and read up on it before using this package.
Note also that this is package relies on undocumented APIs and could break if Google changes how they call the underlying XHR requests.
The following functions are implemented:
gsb_as_ts
: Retrieve attack/compromised host time series info for an ASgsb_asinfo
: Retrive AS info from Google SafeBrowsinggsb_site_status
: Retrive URL "site status"devtools::install_github("hrbrmstr/safebrowsing")
options(width=120)
library(safebrowsing) # current verison packageVersion("safebrowsing") gsb_site_status(c("http://fgcdiesel.cl/encrypted.exe", "http://rud.is/", "http://dds.ec/")) gsb_asinfo("largest", 7) gsb_as_ts("10439")
library(safebrowsing) library(testthat) date() test_dir("tests/")
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.