mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-11 05:03:18 +08:00
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
id: api-petfinder
|
|
|
|
info:
|
|
name: Petfinder API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Petfinder is dedicated to helping pets find homes, another resource to get pets adopted
|
|
reference:
|
|
- https://www.petfinder.com/developers/v2/docs/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/petfinder
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,petfinder
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST https://api.petfinder.com/v2/oauth2/token HTTP/1.1
|
|
Host: api.petfinder.com
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Content-Length: 81
|
|
|
|
grant_type=client_credentials&client_id={{id}}&client_secret={{secret}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"token_type"'
|
|
- '"expires_in"'
|
|
- '"access_token"'
|
|
condition: and
|
|
# digest: 4a0a004730450221008e1bd6bee54ebce132d491842b6b0909047b51b38e1f5d8b9cb6ca4960eb391402200e086cc2d7ee83ae5e649f1233e5cdb5ba69fda32e9d4b4f175057a619c3fc0b:922c64590222798bb761d5b6d8e72950 |