additional matcher for twitter (#3976)

patch-1
Sandeep Singh 2022-03-25 17:53:31 +05:30 committed by GitHub
parent 83979b7a62
commit 497523b2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ id: twitter-secret
info: info:
name: Twitter Secret name: Twitter Secret
author: gaurang author: gaurang,daffainfo
severity: medium severity: medium
tags: token,file,twitter tags: token,file,twitter
@ -14,3 +14,4 @@ file:
- type: regex - type: regex
regex: regex:
- "(?i)twitter(.{0,20})?[0-9a-z]{35,44}" - "(?i)twitter(.{0,20})?[0-9a-z]{35,44}"
- "(?i)twitter(.{0,20})?['\"][0-9a-z]{35,44}"