30 lines
668 B
YAML
30 lines
668 B
YAML
id: api-ipstack
|
|
|
|
info:
|
|
name: IPStack API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://ipstack.com/documentation
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,ipstack
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.ipstack.com/8.8.8.8?access_key={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"ip":'
|
|
- '"hostname":'
|
|
- '"type":'
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022000a47e2040f9315385f4e8ef0e0474452c43663454c9d0584bfaa216a99290cd022100a9a47a900fd2adcf5afb8a76e23f0f0e93728d604c0154818efbc18ed045ce7e:922c64590222798bb761d5b6d8e72950
|