Merge pull request #77 from Nadino92/master

Slack access token
patch-1
bauthard 2020-05-05 20:04:57 +05:30 committed by GitHub
commit 4c3eeba4eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: slack-access-token
#xoxp-702234529XXX-688970480XXX-109182524XXXX-87fa5b4d2e62ac5c16fc6ea93bXXXXXX
#xoxb-702234529XXX-1076883857XXX-Ou9aRuvtFZ4DuTsepevXXXXX
info:
name: Slack access token
author: nadino
severity: medium
requests:
- method: GET
path:
- "{{BaseURL}}/"
matchers:
- type: regex
part: body
regex:
- "xoxp-[0-9A-Za-z\\-]{72}" #person
- "xoxb-[0-9A-Za-z\\-]{51}" #bot
extractors:
- type: regex
part: body
regex:
- "xoxp-[0-9A-Za-z\\-]{72}"
- "xoxb-[0-9A-Za-z\\-]{51}"