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

31 lines
876 B
YAML
Raw Normal View History

2021-11-13 04:15:49 +00:00
id: api-adoptapet
info:
name: AdoptAPet API Test
author: daffainfo
severity: info
description: Resource to help get pets adopted
2021-11-13 04:15:49 +00:00
reference:
- https://www.adoptapet.com/public/apis/pet_list.html
- https://github.com/daffainfo/all-about-apikey/tree/main/adoptapet
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,adoptapet
2021-11-13 04:15:49 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-11-13 04:15:49 +00:00
- method: GET
path:
- "https://api.adoptapet.com/search/pets_at_shelter?key={{token}}&v=2&output=json&shelter_id=79570&start_number=1&end_number=500"
2021-11-13 18:03:07 +00:00
2021-11-13 04:15:49 +00:00
matchers:
- type: word
part: body
words:
- 'returned_pets":'
- 'total_pets":'
condition: and
# digest: 4a0a00473045022100f35df0af1953b945ae725b14d7d6765d68bd37c086d230fbe274a3bfae7d333102200972ba7c462bd373abcbc56059667e6009e9e5f4bf97df29948cefbb781fc90a:922c64590222798bb761d5b6d8e72950