2 ms·
Simple how-to instructions: 1. log into slack 2. share a private file 3. go to: > https://api.slack.com/web https://api.slack.com/web 4. generate
by the_wolf 11y ago
Simple how-to instructions:
1. log into slack
2. share a private file
3. go to:
> https://api.slack.com/web https://api.slack.com/web
4. generate API token
5. copy the link to your private file, and paste as plain text.
6. a file id is in the link, somewhere
7. try out the file id by visiting links like:
> https://slack.com/api/files.info?token=#secret!&file=????????? https://slack.com/api/files.info?token=#secret!&file=???????...?
8. see also:
> https://api.slack.com/methods/files.info https://api.slack.com/methods/files.info
9. in the JSON output you will CTRL+F to see an address like:
> https://slack-files.com/#########-?????????-!!!!!!!! https://slack-files.com/#########-?????????-!!!!!!!!!
10. slackbot warns you, and only you, once and only once
that someone found that link. this notification may
get buried, or forgotten about. it is your only chance
to revoke the public link.
11. if you forget about that link, and it goes viral with
millions of visits, lots of luck gentlemen!