mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 20:53:27 +08:00
30 lines
702 B
YAML
30 lines
702 B
YAML
id: api-slack
|
|
|
|
info:
|
|
name: Slack API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://api.slack.com/methods/auth.test
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,slack
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: POST
|
|
path:
|
|
- "https://slack.com/api/auth.test"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"url":'
|
|
- '"team_id":'
|
|
- '"user_id":'
|
|
condition: and
|
|
# digest: 4b0a00483046022100cae7e5ea121c330f9802762556a970d83aad8138f7e3d7431ee1ec399cf7414f0221008d9a5f6341d40dabe1c428eea845a438340fd71a77d433d49a68174c51e6cba7:922c64590222798bb761d5b6d8e72950 |