VulnCheck's IP Intelligence Protective DNS (PDNS) API may be used to in a variety of ways, including in Protective DNS services that leverage third-party denylists (like VulnCheck) to block Command and Control (C2) and attacker infrastructure.
curl --request GET \
--url https://api.vulncheck.com/v3/pdns/vulncheck-c2 \
--header 'Accept: application/json' \
--header 'Authorization: Bearer insert_token_here'
package main
import (
"fmt"
"github.com/vulncheck-oss/sdk-go"
)
func main() {
client := sdk.Connect("https://api.vulncheck.com", "insert_token_here")
response, err := client.GetTag("vulncheck-c2")
if err != nil {
panic(err)
}
fmt.Println(response)
}
import vulncheck_sdk
configuration = vulncheck_sdk.Configuration(host="https://api.vulncheck.com/v3")
configuration.api_key["Bearer"] = "insert_token_here"
with vulncheck_sdk.ApiClient(configuration) as api_client:
endpoints_client = vulncheck_sdk.EndpointsApi(api_client)
api_response = endpoints_client.tags_vulncheck_c2_get()
print(api_response)
vulncheck tag vulncheck-c2
0-64-187-224-133.quickpacket.com
014198194219.ctinets.com
014199160130.ctinets.com
019-128-100-005.ip-addr.inexio.net
020116.vps-10.com
037008238050.gubin.vectranet.pl
056.168.151.89.chtts.ru
058177115124.ctinets.com
058177167198.ctinets.com
058177174111.ctinets.com
...
curl --request GET \
--url https://api.vulncheck.com/v3/pdns/vulncheck-c2?format=json \
--header 'Accept: application/json' \
--header 'Authorization: Bearer insert_token_here'
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
request, _ := http.NewRequest("GET", "https://api.vulncheck.com/v3/pdns/vulncheck-c2?format=json", nil)
request.Header.Set("Accept", "application/json")
request.Header.Set("Authorization", "Bearer insert_token_here")
response, _ := http.DefaultClient.Do(request)
defer response.Body.Close()
bodyBytes, _ := io.ReadAll(response.Body)
fmt.Println(string(bodyBytes))
}
import requests
url = "https://api.vulncheck.com/v3/pdns/vulncheck-c2?format=json"
headers = {
"accept": "application/json"
}
cookies = {
"token": "insert_token_here"
}
response = requests.get(url, headers=headers, cookies=cookies)
print(response.json())
vulncheck tag vulncheck-c2 --json