nuclei-templates/http/token-spray/api-ip2whois.yaml

32 lines
818 B
YAML

id: api-ip2whois
info:
name: IP2WHOIS API Test
author: daffainfo
severity: info
description: WHOIS domain name lookup
reference:
- https://www.ip2whois.com/developers-api
- https://github.com/daffainfo/all-about-apikey/tree/main/ip2whois
metadata:
max-request: 1
tags: token-spray,ip2whois
self-contained: true
http:
- method: GET
path:
- "https://api.ip2whois.com/v2?key={{token}}&domain=daffa.tech&format=json"
matchers:
- type: word
part: body
words:
- '"domain"'
- '"domain_id"'
- '"whois_server"'
condition: and
# digest: 4a0a00473045022100d0b5c1901b529cae5c21960db2b447cc4b87f47e649a170ecf2a66efbfef920102203a03c1d223bee1fe226f02b307991f4039eef57fd9338723061409d79492449a:922c64590222798bb761d5b6d8e72950