Skip to content

Slack API Test

ID: api-slack

Severity: info

Author: zzeitlin

Tags: token-spray,slack

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/token-spray/api-slack.yaml"

View on Github