如何将网址发送到Google安全浏览?

时间:2019-06-27 20:52:05

标签: google-chrome google-cloud-platform google-api safe-browsing safe-browsing-api

我遵循了此GitHub页面中的步骤,直到执行此步骤:

sbserver -apikey $mykey

然后我得到的输出会像这样不断增加时间:

safebrowsing: 2019/06/27 11:31:06 database.go:111: no database file specified
safebrowsing: 2019/06/27 11:31:06 database.go:243: Server requested next update in 30m25.646s
safebrowsing: 2019/06/27 11:31:07 database.go:389: database is now healthy
safebrowsing: 2019/06/27 11:31:07 safebrowser.go:557: Next update in 30m25.646s
Starting server at localhost:8080
safebrowsing: 2019/06/27 12:01:35 safebrowser.go:563: background threat list updated

我使用此方法查询了一个域列表。这是正确的吗?

I wrote a python script that sends a POST request to 127.0.0.1:8080/v4/threatMatches:find with the following JSON body:

{
    "threatInfo": {
        "threatTypes":      ["UNWANTED_SOFTWARE", "MALWARE"],
        "platformTypes":    ["ANY_PLATFORM"],
        "threatEntryTypes": ["URL"],
        "threatEntries": [myURLsList]
    }
}

我有几个问题:

Q1:我的查询方法正确吗?

0 个答案:

没有答案