2022-07-25 06:05:11 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,abstractapi
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-25 06:05:11 +00:00
|
|
|
- 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
|