Skip to content

Commit

Permalink
fix: the extension regex was not reading the dot
Browse files Browse the repository at this point in the history
  • Loading branch information
grinish21 committed Feb 12, 2024
1 parent ee9c595 commit 53cf2c8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/scan/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
package scan

const (
ruleSuffix string = ".json"
entropyThreshold float64 = 4.7
compressRegex string = ".(war|jar|zip|ear)$"
convertRegex string = ".(docx|odt|pdf|rtf)$"
tempRegex string = `(?:ebgit|ebzip|ebconv)\d+[/\\](.+$)`
maskCharacter string = "*"
overlapLength int = 25
infoLevelSeverity string = "info"
ruleSuffix string = ".json"
entropyThreshold float64 = 4.7
compressRegex string = "\\.(war|jar|zip|ear)$"
convertRegex string = "\\.(docx|odt|pdf|rtf)$"
tempRegex string = `(?:ebgit|ebzip|ebconv)\d+[/\\](.+$)`
maskCharacter string = "*"
overlapLength int = 25
infoLevelSeverity string = "info"
)

0 comments on commit 53cf2c8

Please sign in to comment.