nuclei-templates/apis/googleautocomplete.yaml

24 lines
615 B
YAML

id: api-googleautocomplete
info:
name: Google Autocomplete API Test
author: zzeitlin
severity: info
tags: api,google,autocomplete
requests:
- method: GET
payloads:
token: token.txt
path:
- "https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Bingh&types=%28cities%29&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:
- type: word
part: body
words:
- 'error_message'
negative: true