nuclei-templates/token-spray/api-abstract-ip-geolocation...

27 lines
737 B
YAML

id: api-abstract-ip-geolocation
info:
name: Abstract Api IP Geolocation Test
author: daffainfo
severity: info
description: Get the location of any IP with a world-class APIserving city, region, country and lat/long data.
reference:
- https://www.abstractapi.com/api/ip-geolocation-api
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-ip-geolocation
tags: token-spray,abstractapi
self-contained: true
requests:
- method: GET
path:
- "https://ipgeolocation.abstractapi.com/v1/?api_key={{token}}&ip_address=92.184.105.98"
matchers:
- type: word
part: body
words:
- '"ip":'
- '"city":'
- '"city_geoname_id":'
condition: and