Merge pull request #5541 from 0xlittleboy/patch-3

Create api-userstack.yaml
patch-1
Prince Chaddha 2022-10-04 15:02:40 +05:30 committed by GitHub
commit 155117d1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
id: api-userstack
info:
name: User Stack API Test
author: 0xlittleboy
severity: info
reference:
- https://userstack.com/documentation
tags: token-spray,userstack
self-contained: true
requests:
- 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