Skip to content

Instantly share code, notes, and snippets.

View JPBM135's full-sized avatar
🎯
Focusing

João Pedro Borges Martins JPBM135

🎯
Focusing
View GitHub Profile
@simoniz0r
simoniz0r / gsb.md
Last active June 9, 2023 07:40
Documentation for Google Safe Browsing undocumented API

https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=domainhere:

When we get the results from the endpoint above, the actual results we want will be on the 3rd line. The first line will contain )]}', and the second line will be blank. Ignore both of those lines and get the results from the 3rd line.

Ex:

$ curl -sL 'https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=testsafebrowsing.appspot.com' | tail -n -1
[["sb.ssr",3,1,0,1,1,0,1628410274243,"https://testsafebrowsing.appspot.com"]]