id: api-userstack

info:
  name: User Stack API Test
  author: 0xpugazh
  severity: info
  reference:
    - https://userstack.com/documentation
  metadata:
    max-request: 1
  tags: token-spray,userstack

self-contained: true

http:
  - method: GET
    path:
      - "http://api.userstack.com/api/detect?access_key={{token}}&ua=Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_14_0)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/71.0.3578.98%20Safari/537.36"

    matchers:
      - type: word
        part: body
        words:
          - '"ua":'
          - '"name":'
          - '"brand":'
        condition: and

# digest: 4a0a00473045022100da6c0f5774aa06e11b62a466787e94d1fd56fb971809160cef77d19ebba9134402207aa065ee1fe9dfe11535a427db1c7c5585ff8e62b3b37f73e8df6060a3b611af:922c64590222798bb761d5b6d8e72950
