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

29 lines
764 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
metadata:
max-request: 1
self-contained: true
http:
- 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