nuclei-templates/http/token-spray/api-openweather.yaml

30 lines
714 B
YAML

id: api-openweather
info:
name: OpenWeather API Test
author: zzeitlin
severity: info
reference:
- https://openweathermap.org/current
metadata:
max-request: 1
tags: token-spray,weather,openweather
self-contained: true
http:
- method: GET
path:
- "https://api.openweathermap.org/data/2.5/weather?q=Chicago&appid={{token}}"
matchers:
- type: word
part: body
words:
- '"coord":'
- '"weather":'
- '"base":'
condition: and
# digest: 4b0a00483046022100c54d596dea68046089f94fb3ed62db35252087b778ee5bb706b8422af037d778022100d3f11ed86c08e3843863a3b82f7c76cdd2c1e8383f888042600d7e852ccef018:922c64590222798bb761d5b6d8e72950