2022-06-18 03:54:41 +00:00
|
|
|
id: api-ip2whois
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: IP2WHOIS API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: WHOIS domain name lookup
|
2022-06-18 03:54:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.ip2whois.com/developers-api
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/ip2whois
|
2022-06-18 03:54:41 +00:00
|
|
|
tags: token-spray,ip2whois
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- 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
|