An open API service indexing awesome lists of open source software.

https://github.com/edivangalindo/slack-test

A little tool to fastly test if Slack tokens are valid
https://github.com/edivangalindo/slack-test

bugbounty bugbounty-tool infosec leaked slack

Last synced: 5 months ago
JSON representation

A little tool to fastly test if Slack tokens are valid

Awesome Lists containing this project

README

          

# slack-test

Sometimes, during the day as an offensive security engineer or bug hunter, we come across a leaked token and we need to test it. This tool was born out of my need to do this routinely with tokens coming from Slack.

Single URL:

```
echo xopx-xxxxxxxx-xxxxxxxx-xxxxxxxxx-xxxxxxxxxx | slack-test
```

Multiple tokens:

```
cat tokens.txt | slack-test
```

## Installation

First, you'll need to [install go](https://golang.org/doc/install).

Then run this command to download + compile slack-test:
```
go install github.com/edivangalindo/slack-test@latest
```

You can now run `~/go/bin/slack-test`. If you'd like to just run `slack-test` without the full path, you'll need to `export PATH="/go/bin/:$PATH"`. You can also add this line to your `~/.bashrc` file if you'd like this to persist.