mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 20:53:27 +08:00
30 lines
958 B
YAML
30 lines
958 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: 4a0a0047304502200a382282f328259954ddc7274075da355aa63576cd3e1ccda6584832dbdf4268022100f6b1d6896c544b11fc711b5f2e90a51e0c00efb1c673e4042ace7ec91eba9a33:922c64590222798bb761d5b6d8e72950 |