32 lines
960 B
YAML
32 lines
960 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
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,abstractapi
|
|
|
|
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
|
|
|
|
# digest: 4a0a0047304502210093c0c54eb701f62ed392cdf7bce0b061812ff0e962b3e49e475ff233d337855c0220426668d40d558b35cc59b3675ea073d052474a39bc2907b28593e011431d2a81:922c64590222798bb761d5b6d8e72950
|