nuclei-templates/apis/googlegeolocation.yaml

29 lines
668 B
YAML

id: api-googlegeolocation
info:
name: Google Geolocation API Test
author: zzeitlin
severity: info
tags: api,google,geolocation
requests:
- method: GET
payloads:
token: token.txt
path:
- "https://www.googleapis.com/geolocation/v1/geolocate?key={{token}}"
redirects: false
headers:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'error'
negative: true
- type: status
status:
- 404
negative: true