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

38 lines
922 B
YAML
Raw Permalink Normal View History

2021-10-01 14:33:51 +00:00
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
2023-10-14 11:27:55 +00:00
tags: token-spray,hubspot
2021-10-01 14:33:51 +00:00
2021-10-20 08:46:18 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-10-01 14:33:51 +00:00
- method: GET
path:
- "https://api.hubapi.com/owners/v2/owners?hapikey={{token}}"
2021-11-10 09:35:20 +00:00
- "https://api.hubapi.com/contacts/v1/lists/static?count=3&hapikey={{token}}"
2021-10-01 20:46:16 +00:00
2021-11-10 09:35:20 +00:00
matchers-condition: or
2021-10-01 14:33:51 +00:00
matchers:
- type: word
part: body
words:
2021-11-10 09:35:20 +00:00
- '"portalId":'
- '"ownerId":'
condition: and
- type: word
part: body
words:
- '"metaData":'
- '"portalId":'
2023-10-14 11:27:55 +00:00
condition: and
# digest: 490a0046304402202d9d252f0d8b0085a26265fbc5fa552f807d095394b41127971494d3382c2b6b022061acc2a5a6142ef4ee85fc60d8c3b097a1a6f9ed82bbbaf31b2da23da50b313f:922c64590222798bb761d5b6d8e72950