mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
update regex (#2184)
This commit is contained in:
parent
3167dde8a1
commit
f772fd8b44
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ var _ detectors.Detector = (*Scanner)(nil)
|
|||
var (
|
||||
defaultClient = common.SaneHttpClient()
|
||||
// Make sure that your group is surrounded in boundary characters such as below to reduce false positives.
|
||||
keyPat = regexp.MustCompile(`\bhf_[a-zA-Z]{34}\b`)
|
||||
keyPat = regexp.MustCompile(`\bhf_[a-zA-Z0-9]{34}\b`)
|
||||
)
|
||||
|
||||
// Keywords are used for efficiently pre-filtering chunks.
|
||||
|
|
Loading…
Reference in a new issue