From 9015194526e582ddb1b136acfe0c8ebbf9ed79d4 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Wed, 14 Sep 2022 13:30:52 +0530 Subject: [PATCH] Update discord-backup-code.yaml --- .../tokens/discord/discord-backup-code.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/exposures/tokens/discord/discord-backup-code.yaml b/exposures/tokens/discord/discord-backup-code.yaml index 97f16817b6..4707c9e181 100644 --- a/exposures/tokens/discord/discord-backup-code.yaml +++ b/exposures/tokens/discord/discord-backup-code.yaml @@ -9,16 +9,18 @@ info: requests: - method: GET path: - - "{{BaseURL}}/discord-backup-codes.txt" - - "{{BaseURL}}/discord_backup_codes.txt" + - '{{BaseURL}}/discord-backup-codes.txt' + - '{{BaseURL}}/discord_backup_codes.txt' matchers-condition: and matchers: + - type: regex + part: body + regex: + - '[0-9A-Za-z]{4}\-[0-9A-Za-z]{4}' + + condition: and + - type: status status: - 200 - - - type: regex - part: body - words: - - '[0-9A-Za-z]{4}\-[0-9A-Za-z]{4}'