28 lines
823 B
YAML
28 lines
823 B
YAML
id: api-userstack
|
|
|
|
info:
|
|
name: User Stack API Test
|
|
author: 0xpugal
|
|
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: 4a0a00473045022100ec609c494ed60f5725efc369e083975bb3049000a6026b07ef73f825f8f455ce0220708358f499721080aaf8300a2f985743163b786c4aa6a8b7362003f267e64e9b:922c64590222798bb761d5b6d8e72950 |