Skip to content

TheCatApi API Test

ID: api-thecatapi

Severity: info

Author: daffainfo

Tags: token-spray,thecatapi

Pictures of cats from Tumblr

id: api-thecatapi
info:
name: TheCatApi API Test
author: daffainfo
severity: info
description: Pictures of cats from Tumblr
reference:
- https://docs.thecatapi.com/
- https://github.com/daffainfo/all-about-apikey/tree/main/thecatapi
metadata:
max-request: 1
tags: token-spray,thecatapi
self-contained: true
http:
- method: GET
path:
- "https://api.thecatapi.com/v1/votes"
headers:
x-api-key: "{{token}}"
matchers:
- type: word
part: body
words:
- '"country_code":'
- '"created_at":'
condition: and
# digest: 4b0a00483046022100cfefbc7bc42c2aa03380f55d7057bff9730388e83a9d214f71f228003722dba7022100f1f136e6153bc6092353a9ddf537cbb32e24f842c1efcbdc1fd9a263f2229c43:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/token-spray/api-thecatapi.yaml"

View on Github