google / safebrowsing

Safe Browsing API Go Client
Apache License 2.0
470 stars 129 forks source link

SafeSites URL filter - query filter? #114

Open sorentorp opened 2 years ago

sorentorp commented 2 years ago

Hi Google

I'm trying to find out what websites are a part of your solution for GWfE domains - namely the "SafeSites URL filter", that filters adult content. image

Is it possible to query this?

eg.

curl -H "Content-Type:application/json" -H "Accept: application/json" --data-binary "{ \"client\": { \"clientId\": \"myclientid\", \"clientVersion\": \"1.5.2\" }, \"threatInfo\": { \"threatTypes\": [\"MALWARE\", \"SOCIAL_ENGINEERING\", \"THREAT_TYPE_UNSPECIFIED\", \"UNWANTED_SOFTWARE\", \"POTENTIALLY_HARMFUL_APPLICATION\"], \"platformTypes\": [\"ANY_PLATFORM\"], \"threatEntryTypes\": [\"URL\"], \"threatEntries\": [ {\"url\": \"http://pornhub.com\"}, {\"url\": \"https://xhamster.com\"} ] } }" -X POST "https://safebrowsing.googleapis.com/v4/threatMatches:find?key=xxxxxxxxxxxxxxxx"