Files
nuclei-templates/http/token-spray/api-hubspot.yaml
2024-12-01 13:57:55 +00:00

36 lines
922 B
YAML

id: api-hubspot
info:
name: HubSpot API Test
author: zzeitlin
severity: info
reference:
- https://legacydocs.hubspot.com/docs/methods/owners/get_owners
metadata:
max-request: 2
tags: token-spray,hubspot
self-contained: true
http:
- method: GET
path:
- "https://api.hubapi.com/owners/v2/owners?hapikey={{token}}"
- "https://api.hubapi.com/contacts/v1/lists/static?count=3&hapikey={{token}}"
matchers-condition: or
matchers:
- type: word
part: body
words:
- '"portalId":'
- '"ownerId":'
condition: and
- type: word
part: body
words:
- '"metaData":'
- '"portalId":'
condition: and
# digest: 4a0a0047304502200c4533791c208122031d684ac0ae72b3189efb8f14e60c976c003204ea7301ed022100c8b1c61ca643a48bc8f1f80a63e8de8e5f0c80907eb63e11d7eb3ea183c0588e:922c64590222798bb761d5b6d8e72950