revert commit

patch-1
Dhiyaneshwaran 2023-10-03 18:28:59 +05:30
parent f06822363f
commit 69c3edb658
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@ id: twilio-api
info:
name: Twilio API Key
author: gaurang, shankar acharya
author: gaurang
severity: high
tags: token,file
@ -13,4 +13,4 @@ file:
extractors:
- type: regex
regex:
- "(?i)twilio(.{0,20})?[0-9a-f]{32,34}"
- "(?i)twilio(.{0,20})?SK[0-9a-f]{32}"

View File

@ -20,4 +20,8 @@ http:
- type: regex
part: body
regex:
<<<<<<< HEAD
- '(?i)twilio.{0,20}[a-f0-9]{32,34}'
=======
- '(?i)twilio.{0,20}\b(sk[a-f0-9]{32})\b'
>>>>>>> parent of e0c79e960 (my template extracts all the keys if the word twilio is present.)