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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502210093c0c54eb701f62ed392cdf7bce0b061812ff0e962b3e49e475ff233d337855c0220426668d40d558b35cc59b3675ea073d052474a39bc2907b28593e011431d2a81:922c64590222798bb761d5b6d8e72950
|